[ITK] [ITK-users] Management of big datasets
gmail
elena.bresciani87 at gmail.com
Mon Jan 26 03:44:48 EST 2015
Hi everybody,
I’m having issues with a project that requires using 3D datasets up to 4-5 GB without subsampling.
The pipeline is something like this:
ImageFileReader -> IntensityWindowingImageFilterType -> MedianImageFilter -> ScalarImageKmeansImageFilter -> RelabelComponentImageFilter -> RescaleIntensityImageFilter -> ImageSeriesWriter
I was getting std::bad_alloc error but I solved this problem with -> ReleaseDataFlagOn() for each filter of the pipeline.
My code runs well till the end and all the images of the output stack are written but after only 170 images (of a total of 1990) are written correctly whilst the others have only black pixels.
Any guess on what could be the problem? Maybe I should use ImageFileWriter instead of ImageSeriesWriter?
Best regards
Elena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150126/c26b269b/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list