An Object-Oriented Implementation of Morphological Operations Using Element Vector Representation

Zoran Đukić, Sven Lončarić


A novel implementation of morphological operations is proposed in this paper. Major benefit of the implementation is the independence of computation algorithms to space dimension. This is achieved using a sorted linked list of elements for the set representation instead of conventional raster representation. A set compression method is used for smaller memory requirements. Since the compressed elements act as subsets, the set operations are performed on the subsets instead of the single elements resulting in the computation speed up. The implemented morphological set operations include erosion, dilation, opening, and closing. The software is developed in GNU C++, using object-oriented paradigm that enables easy reuse of the designed software components.


Mathematical morphology, object-oriented, class architecture, linked list, compression

Full Text:


Creative Commons License
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Crossref Similarity Check logo

Crossref logologo_doaj

 Hrvatski arhiv weba logo