Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
PHP Real Estate Script 1.3.2
IP2Location Geolocation Database April.2019
dbForge Data Generator for Oracle 2.1
VisualNEO Web 2018.12.15
SentiMask SDK Trial 1.0.0
OrgChart JS 4.6.4
dotConnect for BigCommerce 1.8
FedEx Smart Shipping For Magento 1.0.0
Database Workbench Pro 5.6.2.311
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Job Board Software 4.2
MLM Unilevel Plan Script 1.0.4
Easynews PHP for Scripts 1.7.1
MLM Unilevel Plan Software 1.0.2
AppControls 3.7.4
Comag Channel List Editor 1.0
Hangman Game 1.1
HTMLPad 2007 Pro 8.3
Tree data structure as a MATLAB class 1.0
FlowChartX 2.2
Travel Agency Script 2.0.1
Gif4J Light 1.0
riskcalc 1.0
DBSync for MS Access & MSSQL 2.0.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Save and load data as multi-frame TIFF format 1.0
File ID: 84548






Save and load data as multi-frame TIFF format 1.0
Download Save and load data as multi-frame TIFF format 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 8
Submit Rating:
Save and load data as multi-frame TIFF format 1.0 Description
Description: You can easily save and load a variety types of data as multi-frame TIFF format by using this.
Supported data types : uint8, uint16, uint32, int8, int16, int32, single

It does not support 'double' type and complex number.

Multi-frame RGB color image and lossless compression is supported.

Examples :

[X,Y,Z] = peaks(100);
Z_index = uint8((Z - min(Z(:))) * (255 / (max(Z(:)) - min(Z(:)))));

% 8-bit, grayscale image
saveastiff(uint8(Z_index), 'Z_uint8.tif', 1);

% 8-bit, grayscale image (using default parameter)
saveastiff(uint8(Z_index), 'Z_uint8.tif');

% Lossless compression
% Compression. 1 : Uncompressed, 5 : lossless LZW, 8 : lossless Adobe-style
saveastiff(uint8(Z_index), 'Z_uint8_LZW.tif', 1, 5);

% Overwrite with no question (default is 0 : ask question)
saveastiff(uint8(Z_index), 'Z_uint8_LZW.tif', 1, 5, 1);

% All Messages are skipped. (default is 0 : display all message)
saveastiff(uint8(Z_index), 'Z_uint8_LZW.tif', 1, 5, 1, 1);

% 16-bit, grayscale image, no compression, no quesion, no message
saveastiff(uint16(Z_index), 'Z_uint16.tif', 1, 1, 1, 1);

% 32-bit single, grayscale image
saveastiff(Z, 'Z_single.tif', 1, 1, 1, 1);

% Generate a RGB color image from the original gray scale image.
Z_color = uint8(ind2rgb(Z_index, hsv(256)*256));

% RGB color image
saveastiff(Z_color, 'Z_rgb.tif', 3, 1, 1, 1);

% Save each R, G and B chanels of the color image, separately.
saveastiff(Z_color, 'Z_rgb_channel.tif', 1, 1, 1, 1);

% Generate a multi-frame RGB color image.
Z_color_multiframe = reshape([Z_color(:)*0.2 Z_color(:)*0.6 Z_color(:)], 100, 100, 3, 3);

% Save the multi-frame RGB color image
saveastiff(Z_color_multiframe, 'Z_rgb_multiframe.tif', 3, 1, 1, 1);

% Add white noise to the RGB color image
Z_color_noisy = uint8(single(Z_color) + rand(100, 100, 3).*50);

% Save the noise-added RGB color image
saveastiff(Z_color_noisy, 'Z_rgb_noisy.tif', 3, 1, 1, 1);

% 32-bit single, 50x50x50 volume data
saveastiff(single(rand(50, 50, 50)), 'volume_50x50x50.tif', 1, 1, 1, 1);

License: Shareware

Related: Scale, original, Generate, Color, uint ind rgbz index, rgbtif, saveastiffz color, Hsv, singletif, saveastiffz

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 8



More Similar Code

Do you ever curse Java for making it so ridiculously difficult just to save and load data?
Do you ever say something like the following:
"All I want to do is save the user's data! I don't want to deal with your BufferedWriters and HashMapThingies and stuff!"
...all in a remarkably incensed tone?

Well, DON'T! There's a solution!
It's a PIECE O' CAKE!
Just use this handy dandy...



Extends the standard WordPress search to include data from posts, pages, comments, and meta-data, as well as the full content of data inserted by plugins. This last feature makes it unique amongst search plugins. For example, you may have a plugin...



A script to export elgg user, blog and comment data as a Wordpress eXtended RSS file for easy migration to wordpress or buddypress installation.



BUILDAIX is a set of scripts that largely automate compiling and packaging software as AIX LPP (installp format).

The single command "buildaix" orchestrates the configure, make, and mkinstallp commands needed to create an...



XSDB XML is to DATA as HTML is to DOCUMENT. Publish and combine data as easily as HTML format and web browsers publish and view documents. Implementations in Python, javascript, java, C#/.NET.



X360 Image to Multi-page Tiff Converter ActiveX Control helps application developers to converter the most common image formats include BMP, GIF, JPEG, PNG, WMF, TIFF to Multi-page Tiff Image File. It helps programmer to view and create multi-page...



X360 Image to Multi-page Tiff Converter ActiveX Control helps application developers to converter the most common image formats include BMP, GIF, JPEG, PNG, WMF, TIFF to Multi-page Tiff Image File. It helps programmer to view and create multi-page...



X360 Multi-page Tiff Viewer ActiveX Control helps application developers and programmers create applications with multi-page TIFF images viewing capabilities. Also, it helps you to get the embed TIFF tag from the images. It helps programmer to...



MSCBlob (Binary Large Object) is an auxiliary component for data blocks storing and transmitting.

It could contain a raw data and represent it as a binary or string.

There are 3 alternative string representations: as-is,...



X360 Multi-page Tiff Viewer ActiveX Control helps application developers and programmers create applications with multi-page TIFF images viewing capabilities. Also, it helps you to get the embed TIFF tag from the images. It helps programmer to...

User Review for Save and load data as multi-frame TIFF format
- required fields
     

Please enter text on the image