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
See full specifications

scripts default iconExport image to TIF or TIFF file of selected data type (Scripts) Publisher's description

IMWRITE2TIF Write image to tif file with specified datatype

IMWRITE2TIF Write image to tif file with specified datatype.

IMWRITE2TIF(IMGDATA,HEADER,IMFILE,DATATYPE)exports IMGDATA with HEADER to TIF file named IMFILE. HEADER is usally obtained by IMFINFO from original image file, and it can also be left empty. String DATATYPE specifies data type for the export. Supported data types include logical, uint8, int8, uint16, int16, uint32, int32, uint64, int64, single and double.

IMWRITE2TIF(IMGDATA,HEADER,IMFILE,DATATYPE,TAG NAME1,TAG VALUE1,TAG NAME2,TAG VALUE2, ...) writes with specified Matlab supported TIF tag values. These new tag values override those already defined in HEADER.

Note 1:
to avoid errors such as '??? Error using ==> tifflib The value for MaxSampleValue must be ...', overide tag MaxSampleValue by Matlab supported values. Or simply remove the tag from HEADER.

Note 2:
Overwriting of the existing image files is not checked. Be cautious with the export image file name.

Example 1:
imgdata = imread('ngc6543a.jpg');
header = imfinfo('ngc6543a.jpg');

Example 2:
imgdata = imread('mri.tif');

More information can be found by searching for 'Exporting Image Data and Metadata to TIFF Files' in Matlab Help.

System Requirements:

MATLAB 7.11 (2010b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Export image to TIF or TIFF file of selected data type (Scripts) Tags:

Click on a tag to find related softwares

Is Export image to TIF or TIFF file of selected data type (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.