Problem in viewing 48 bit tif image using Matlab

Status
Not open for further replies.

IndiJones

Full Member level 2
Joined
Aug 13, 2001
Messages
132
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
786
Here's the details of the image obtained using 'imfinfo' command:

Filename: 'red1_composite.tif'
FileModDate: '30-Apr-2004 12:30:24'
FileSize: 4718784
Format: 'tif'
FormatVersion: []
Width: 1024
Height: 768
BitDepth: 48
ColorType: 'truecolor'
FormatSignature: [73 73 42 0]
ByteOrder: 'little-endian'
NewSubfileType: 0
BitsPerSample: [16 16 16]
Compression: 'Uncompressed'
PhotometricInterpretation: 'RGB'
StripOffsets: 192
SamplesPerPixel: 3
RowsPerStrip: 768
StripByteCounts: 2359296
XResolution: 72
YResolution: 72
ResolutionUnit: 'Inch'
Colormap: []
PlanarConfiguration: 'Chunky'
TileWidth: []
TileLength: []
TileOffsets: []
TileByteCounts: []
Orientation: 1
FillOrder: 1
GrayResponseUnit: 0.0100
MaxSampleValue: [65535 65535 65535]
MinSampleValue: 0
Thresholding: 1
NewSubFileType: 0

The error message that I'm getting with 'imshow' command is:

>> imshow('red1_composite.tif')
??? TIFFFillStrip: red1_composite.tif: Read error at scanline 384; got 0 bytes, expected 12648451.

Error in ==> C:\MATLAB6p5p1\toolbox\matlab\iofun\private\rtifc.dll
Error in ==> C:\MATLAB6p5p1\toolbox\matlab\iofun\private\readtif.m
On line 25 ==> [X,map,photo] = rtifc(filename, index);

Error in ==> C:\MATLAB6p5p1\toolbox\matlab\iofun\imread.m
On line 283 ==> [X, map] = feval(fmt_s.read, filename, extraArgs{:});

Error in ==> C:\MATLAB6p5p1\toolbox\images\images\imshow.m (ParseInputs)
On line 230 ==> [cdata,map] = imread(filename);

Error in ==> C:\MATLAB6p5p1\toolbox\images\images\imshow.m
On line 90 ==> [cdata, cdatamapping, clim, map, xdata, ydata, filename, ...


What could be the problem?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…