Class BasicRankMorphology

All Implemented Interfaces:
Cloneable, ArrayProcessor, ArrayProcessorWithContextSwitching, Morphology, RankMorphology

public abstract class BasicRankMorphology extends AbstractRankMorphology implements RankMorphology

Almost complete implementation of RankMorphology interface with an instantiation method of some complete implementation.

This class fully implements all methods, declared in RankMorphology interface, according to the detailed specifications listed in the comments to that interface. The only methods, which stay abstract here, are the following 3 methods of AbstractMorphology superclass:

All other methods are implemented via the simple calls of asProcessed and process method of the corresponding streaming aperture processors, listed in RankProcessors class.

This package provides some concrete complete inheritor, which implements also these 3 methods. This inheritor is instantiated by the following method:

But you can also inherit this class yourself and implement dilation and erosion (the basic operations of the mathematical morphology) in other way.

Author:
Daniel Alievsky