Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top