Opening a 2D image of type .pic is currently not possible.
Open / drag and drop 2D .pic image in mitkWorkbench results in the following warning:
core.io.ioUtil WARNING bad allocation
Attached example file
Opening a 2D image of type .pic is currently not possible.
Open / drag and drop 2D .pic image in mitkWorkbench results in the following warning:
core.io.ioUtil WARNING bad allocation
Attached example file
There is a problem in the IpPicFileReader class. The dimension information of the attached image ( with dimensionality 204x204 ) is read in sometimes as
[ 204, 204, 0, 0,...]
leading to a crash in SliceSelector ( due to invalid TimeSlicedGeometry ). Sometimes the third number is not zero but some high integer value ( > 10^6 ) leading to a 100% memory consumption.
When manually adapting (during debugging ) the dimension information to
[ 204, 204, 1, 0, ...]
the image was correctly read in.
Solution:
[d54fe9]: Merge branch 'bug-13537-Fix-2D-PicImage-Initialization'
2012-12-05 15:38:17 Jan Hering [417dad]
Manual correction of dimension information