[ITK] [ITK-users] Region Growing for huge data set

Dženan Zukić dzenanz at gmail.com
Mon Nov 14 09:29:06 EST 2016


Hi Abdelkhalek,

depending on the filters in your pipeline (whether all of them support
streaming), it might be useful to use StreamingImageFilter
<https://itk.org/Doxygen/html/classitk_1_1StreamingImageFilter.html>. If
not, you could have all intermediate results deallocated before starting
the main (most memory intensive) processing step:

ImageType::Pointer intermediate;
//open a block, so that all variables created in it are deallocated at the
end of it
{
//read image
//do some processing
lastFilterInThisBlock->Update();
intermediate=lastFilterInThisBlock->GetOutput();
}
//everything except intermediate will be deallocated at this point, freeing
memory
mainProcessingStep(intermediate);

Regards,
Dženan

On Sun, Nov 13, 2016 at 10:03 AM, Abdelkhalek Bakkari <
bakkari.abdelkhalek at hotmail.fr> wrote:

> Dear ITK users,
>
>
> I am trying to evaluate my region growing ITK code. Unfortunately, for a
> huge data (more than 100 .dcm images), the application turn blocked and
> some errors appear (please find it in attachment)
>
>
> Do you have any suggestion or help ?
>
>
>
> Thank you in advance.
>
>
> Best regards,
>
>
>
> Abdelkhalek Bakkari
> Ph.D candidate in Computer Science
> Institute of Applied Computer Science
> Lodz University of Technology, Poland
>
>
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20161114/4c139dba/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