imread() issues with 16-bit .tif

View: New views
2 Messages — Rating Filter:   Alert me  

imread() issues with 16-bit .tif

by StuPPO :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Using:
- Octave 3.0.0
- Image Processing Package 1.0.8
- ImageMagick 6.3.7

I'm trying to import a 16-bit tiff file, but receive the following error:
  A = imread('/home/student/Data/210109 Images/StepGray16G.tif');
  error: imread: image data chunk has invalid size 4022868 != 720*486*3 == 104976
  0
  error: evaluating if command near line 144, column 5
  error: called from `imread' in file `/usr/share/octave/packages/image-1.0.8/imr
  ead.m'
  octave:94> error: evaluating assignment expression near line 94, column 3

I am able to import .bmps and .jpgs with no problem.
Any suggestions would be appreciated!

imread() issues with 16-bit .tif

by John W. Eaton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 26-Jan-2009, StuPPO wrote:

|
| Using:
| - Octave 3.0.0
| - Image Processing Package 1.0.8
| - ImageMagick 6.3.7
|
| I'm trying to import a 16-bit tiff file, but receive the following error:
|   A = imread('/home/student/Data/210109 Images/StepGray16G.tif');
|   error: imread: image data chunk has invalid size 4022868 != 720*486*3 ==
| 104976
|   0
|   error: evaluating if command near line 144, column 5
|   error: called from `imread' in file
| `/usr/share/octave/packages/image-1.0.8/imr
|   ead.m'
|   octave:94> error: evaluating assignment expression near line 94, column 3
|
| I am able to import .bmps and .jpgs with no problem.
| Any suggestions would be appreciated!

Since this problem appears to be in the image package, not Octave
itself, you should report it to the maintainer of the package.

In the next Octave release, imread and imwrite will be part of
Octave.  Testing with the current sources, I don't see a problem
reading a tiff file.

jwe
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave