[Insight-users] bug in Morphology with parabolic structuring elements?
Oleksandr Dzyubak
adzyubak at gmail.com
Wed Sep 15 16:06:06 EDT 2010
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
More information about the Insight-users
mailing list