octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30715] imread fails to read uint16 tif image


From: paolo prosperi
Subject: [Octave-bug-tracker] [bug #30715] imread fails to read uint16 tif image
Date: Wed, 15 Jun 2011 15:01:48 +0000
User-agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Follow-up Comment #19, bug #30715 (project octave):

Two updates on my side.
I was able to overcome the imread bug I notified  last year by using a
tiffread.m script (v2.9), that can be found here:
http://www.embl.de/~nedelec/misc/index.html
Now in Octave I can correctly read in and use uint16 type of images.
As for writing them back, I found imwrite does work (Rik wrote it didn't), but
only if "-depth 16" option is used (i.e., providing the input image is uint16,
imout=imwrite('filename',image,"-depth 16") ).
It would be good if this and the other imwrite options were mentioned in the
Octave manual. You need to open the imwrite.m file and read through
imagemagick documnetation to find that out.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30715>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]