[vtkusers] Re ad 16-bit TIFF stack

Sean McBride sean at rogue-research.com
Tue Jun 2 11:35:46 EDT 2009


On 6/1/09 12:16 PM, Floarea Serban said:

>Here is the code snippet that generates the error. I have also attached the
>complete java source and a sample image (16-bit tiff stack) can be found at
>http://bioimage.ucsb.edu/images/stories/BioImage/research/microtubules/
>original_video/0.1tnov.tif.
>            vtkTIFFReader  reader = new vtkTIFFReader();
>	    reader.SetFileName("0.1tnov.tif");
>	    reader.Update(); // this is the place where it crashes
>	    System.out.println(reader.GetFileDimensionality());
>	    System.out.println(reader.GetDataScalarType());
>
>I have tried it again and it works with version 5.1 but crashes with 5.4. I
>get only this error message:
>Invalid memory access of location 00000008 eip=08097779.

Have you run this in a debugger?  That would let you see where it is
crashing.  The other thing you can do is regress, that is, use cvs to
download various versions of VTK between 5.1 and 5.4 until you find when
it broke.  That's rather tedious though.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list