[ITK Community] [Insight-developers] InvertDisplacementFieldImageFilter issue

Luis Ibanez luis.ibanez at kitware.com
Fri Dec 13 08:42:06 EST 2013


Brad,

It looks like it may help to add something like:

    ProgressReporter progress( this, 0, this->m_MaximumNumberOfIterations );

in line 119  (before the beginning of the while loop for number of
iterations) of:


 Modules/Filtering/DisplacementField/include/itkInvertDisplacementFieldImageFilter.hxx



and then add:

    progress.CompletedPixel() ;

in line 167  (before closing the while loop for iterations) of the same
file.
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/DisplacementField/include/itkInvertDisplacementFieldImageFilter.hxx#L167



It will also need the #include for the ProgressReporter class.



    Luis







On Mon, Dec 9, 2013 at 9:26 AM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:

> Hello,
>
> I am wrapping InvertDisplacementFieldImageFilter in SimpleITK and I
> noticed some deficiencies for an well behaved ITK filter.
>
> 1) The current iteration and the number of elapsed iterations are not
> exposed
> 2) There is no progress, I'd expect an iteration event along with the
> progress to the max number of iterations.
>
> Any thoughts on this?
>
> Thanks,
> Brad
> _______________________________________________
> 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://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://www.itk.org/mailman/listinfo/insight-developers
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131213/eb8e068e/attachment.htm>
-------------- 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://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://www.itk.org/mailman/listinfo/insight-developers


More information about the Community mailing list