How to read 30bits/pix TIF image in 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
I'm working with 30-bit TIF image captured by a camera. The camera outputs 10 bits/pixel for each of the three channels. The captured file is saved as 'Test.TIF'. When I try to open it using 'imread' in Matlab, I get the following error message:

QUOTE

??? C:\MATLAB701\work\Test.tif: Cannot handle different per-sample values for field "BitsPerSample".

error ==> imagesci\private\readtif at 32
[X, map, details] = rtifc(filename, args.index);

error ==> imread at 308
[X, map] = feval(fmt_s.read, filename, extraArgs{:});

UNQUOTE

How will I be able to read the file without doing any modifications?

Thanks!
 

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