[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image
From: |
Qianqian Fang |
Subject: |
[Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension |
Date: |
Wed, 28 Apr 2010 02:23:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 |
URL:
<http://savannah.gnu.org/bugs/?29696>
Summary: imread reads in multi-page TIFF image as empty
array with incorrect dimension
Project: GNU Octave
Submitted by: fangq
Submitted on: Wed 28 Apr 2010 02:23:37 AM GMT
Category: Libraries
Severity: 3 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Qianqian Fang
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.3
Operating System: GNU/Linux
_______________________________________________________
Details:
The 3.2.x versions of octave gave me incorrect results when reading a
multi-page TIFF image.
* Steps to reproduce:
1. Download the TIFF file in the attachment or from external link [1]
2. run the following command
brain=imread('headseg.tif',1:256);
3. clear brain, and run the following command:
for i=1:256
brain(:,:,i)=imread('headseg.tif',i);
end
* Expected results:
For the above Step 2, the array brain is expected to have dimension
256x256x256 with many non-zero elements (the file is a segmented brain
volume).
The same out come is expected for Step 3.
* Actual results:
For step 2, octave returns an array with dimension 256x256x1x256, all
elements are 0s.
For step 3, octave returns an array with the expected dimensions, but again,
all elements are 0s.
[1]
https://orbit.nmr.mgh.harvard.edu/plugins/scmsvn/viewcvs.php/*checkout*/trunk/iso2mesh/sample/headseg.tif?root=iso2mesh
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29696>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension,
Qianqian Fang <=
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, Qianqian Fang, 2010/04/27
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, Qianqian Fang, 2010/04/27
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, John W. Eaton, 2010/04/29
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, Søren Hauberg, 2010/04/29
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, John W. Eaton, 2010/04/29
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, Qianqian Fang, 2010/04/29
- [Octave-bug-tracker] [bug #29696] imread reads in multi-page TIFF image as empty array with incorrect dimension, John W. Eaton, 2010/04/29