[ITK] SCIFIO
Michael Meuli
michael.meuli at gmail.com
Tue Oct 28 15:49:09 EDT 2014
Hi all
If I modify the RunTest() function in itkSCIFIOImageIOTest.cxx just a
little bit to
get hold of the image for processing it, I get the following error
which appears, depending on the file, after a
certain number of series were processed with the following error:
terminate called after throwing an instance of
'itk::InvalidRequestedRegionError'
what(): /home/michael/bioimage/itk/itk-master/InsightToolkit/Modules/Core/Common/src/itkDataObject.cxx:393:
Requested region is (at least partially) outside the largest possible region.
Aborted (core dumped)
In case of dead-A.ome.tiff after processing the first two series.
Please find attached the runnable code.
The file dead-A.ome.tiff can be found here:
https://www.dropbox.com/sh/t2z0f4jttcnfh8s/AADq21HNR7EwH1JFxskhXXhea
in the folder ome-tiff-files/5.0.5
Googling for the poblem I found the following about the Update() fuction:
http://www.itk.org/Doxygen/html/classitk_1_1ProcessObject.html#a4041fb21e9105500eee311e265691bd5
I don't really understand it but I've tried
UpdateLargestPossibleRegion() instead of Update() but the complier
didn't eat it.
Many thanks and best regards
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cxx
Type: text/x-c++src
Size: 3637 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20141028/f20d1829/attachment.cxx>
More information about the Community
mailing list