[Insight-users] Example on morphological image enhancement

Luis Ibanez luis.ibanez at kitware.com
Wed Dec 29 10:21:33 EST 2004


Hi Lino,

This is great !

Thanks for contributing this example to ITK.

It has been committed into the directory

     Insight/Examples/Filtering/
        MorphologicalImageEnhancement.cxx


The section between lines 170-200 can  be converted by
creating a Functor filter. In that way there is no need
to create the internal image.

It will be great to include in the repository the Opening
and Closing filters that you implemented. Please send them
and we will commit them to the repository. You may want to
add your information in the "\author" Doxygen tag of the
respective classes.



Regards,


    Luis


-------------------
Lino Ramirez wrote:

> Hello All,
> 
> I wrote a small example on morphological image enhancement following an
> example I found in the Image Processing toolbox of MATLAB. You can find
> the example at
> 
> http://www.ece.ualberta.ca/~ramirez/itk/ImageEnhancement/
> 
> The executable and some example outputs using structuring elements of
> different sizes can be found at
> 
> http://www.ece.ualberta.ca/~ramirez/itk/ImageEnhancement-bin/
> 
> The usage is
> MorphologicalImageENhancement.exe inputImageFile outputImageFile radius
> 
> where "radius" is the radius of an itkBinaryBallStructuringElement
> 
> If you think it could be useful for other ITK users, I would like to
> contribute it to ITK. Moreover, in writing the code, I had to implement a
> Gray Scale Opening (erosion followed by a dilation) and Closing (dilation
> followed by an erosion) (Note: they are no the geodesic ones that are
> already implemented in ITK) and a Top Hat (original image – opening) and
> Bottom Hat (closing – original image) operations. If you think these
> operations should be in ITK, I could try to implement them as filters.
> 
> Any feedback about the example will be really appreciated
> 
> Have a nice day
> 
> Lino
> 
> P.S. I also have available the example using the geodesic morphological
> filters available in ITK
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 








More information about the Insight-users mailing list