Skip to content

Matematical morphological operators implementation in C++11

Notifications You must be signed in to change notification settings

rickie95/MorphOpsCPP

Repository files navigation

MorphOpsCPP

Matematical morphological operators implementation in C++11

Overview

A simple implementation of morfological operators, the code is used to compare the CUDA implementation (here) and measure speedup.

Code works with .ppm B/W images, extracting only the first channel if multiple channels are detected. Results are also .ppm images, timings are always saved in a .csv file.

Regarding operators, multiple shapes are avaiable: you can even set a custom sizes. Check out StructuringElement.h.

MorphableOperators.h contains implementations of some well know tranformations: erosion, dilatation, opening, closing, top-hat and bottom-hat transform. Derived transformations were implemented calling base transformations methods.

About

Matematical morphological operators implementation in C++11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published