[Insight-users] bug in Morphology with parabolic structuring elements?

Richard Beare richard.beare at gmail.com
Wed Sep 15 18:57:19 EDT 2010


Hi,
There have been a few updates that aren't in the IJ version. You can
get the latest version using

darcs get http://voxel.jouy.inra.fr/darcs/contrib-itk/parabolicMorphology

The biggest changes are classes for fast circular and spherical
erosions and dilations on binary images.


I've added testClose, in the way that you described, and it seems to
run sensibly on the cthead test image. It is possible that there is a
bug in the IJ version that I've fixed since.


On Thu, Sep 16, 2010 at 6:06 AM, Oleksandr Dzyubak <adzyubak at gmail.com> wrote:
>
> Dear ITK users,
>
> Recently I tried classes "Morphology with parabolic structuring elements" by
> Richard Beare.
> Since it is not available in the ITK lib yet,
> I downloaded the submission version from the link below.
>
> http://www.insight-journal.org/browse/publication/228
>
> BTW, on the submission page there is a recommendation which basically does
> not work.
> *************
> Please use this identifier to cite or link to this publication:
> http://hdl.handle.net/1926/1370
> *******
> If I click on the provided link,
> it gives (me at least) the error message "You cannot access this item!"
>
> In submission everything compiles well and provided examples work.
> I am, in particular, interested in "Open-Close" morphological operations.
> Richard provided an example testOpen.cxx which works
> and produces reasonable results.
> Thus, I took it as basis to build testClose.cxx.
>
> To make my life easier, I included
> #include "itkParabolicCloseImageFilter.h"
>
> and substituted
> typedef itk::ParabolicOpenImageFilter< IType,IType > FilterType;
> with
>  typedef itk::ParabolicCloseImageFilter< IType,IType > FilterType;
>
> After those manipulations, I was able to succesfully compile my code
> testClose.cxx.
> However, as opposed to testOpen.cxx code,
> in the output image all the pixels have the same value 3.4E38.
>
> Is this a bug or I am doing something terribly wrong?
>
>
> Thanks,
>
> Alex
>
> _____________________________________
> 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.html
>
> 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-users
>


More information about the Insight-users mailing list