About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 28
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Tadonam
See full specifications

scripts default iconSave and load data as multi-frame TIFF format (Scripts) Publisher's description

You can easily save and load a variety types of data as multi-frame TIFF format by using this.

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);

System Requirements:

No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall

Save and load data as multi-frame TIFF format (Scripts) Tags:

Click on a tag to find related softwares

Is Save and load data as multi-frame TIFF format (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.