Giter Site home page Giter Site logo

morphology's Introduction

Morphology

C++ Morphological Image Processing program

Morphological image processing is a collection of non-linear operations related to the shape or morphology of features in an image.

This program takes a Binary Image text input image which includes a header for its number of rows, columns, min and max values for the proceeding image.

The structuring element [SE] is a matrix for which the operations will use to perform on the binary image. The SE includes number of rows, cols, min and max as well as a row and column origin to notify the operators where to center the SE around.

This morphology program runs and operates on the binary image as long as SE elements and operations are chosen, until the user decides to quit.

Input 1 - Binary Image including: [ROW, COL, Min, Max] header Input 2 - Structuring Element including: [ROW, COL, Min, Max, RowOrigin, ColOrigin] header

Input 3 - Character for operation to be performed E-Erosion shrink image regions

D-Dilation
grow image regions

C-Closing structured filling in of image region boundary pixels

O-Opening structured removal of image region boundary pixels

////////// Example Binary image in input.txt Example SE in input2.txt

  • After compiling run with: main input.txt input2.txt [Choice of E,D,C,O operations]

Output.txt automatically generated/rewritten for end results.

morphology's People

Contributors

stefanhernandez avatar

Stargazers

Oeslle Lucena avatar HHHIT avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.