rickie95 / MorphOpsCPP

Matematical morphological operators implementation in C++11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C++ 92.8%Language:C 5.7%Language:CMake 1.4%