Skip to content

dulekang1025/Binary-Image-Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary-Image-Segmentation

Binary image segmentation implmentation using Ford-Fulkerson algorithm.

Binary Image segmentation is the process of classifying the pixels of an image into two categories: pixels belonging to the foreground objects of an image and pixels belonging to the background objects of an image.

The binary image segmentation problem can be reduced to finding a minimum cut in the graph induced by the image graph: the pixels are the vertices or nodes in the graph and we have edges between any neighboring pixels in the horizontal and vertical direction (i.e. any vertex has maximum 4 neighbours).

The program has 3 arguments: an input image, a configuration file that provides the initial set of foreground and background points and an output image. Your program has to compute the binary segmentation of the pixels in the input image based on the initial segmentation provided in the configuration file. The output has to be an image of the same size of the input image such that each pixel is either white (foreground) or black (background).

An example input output is shown below where left is the input and right is the output. The input image and the configuration file is provided together with the source code.
avatar

Reference : Project Description of p1 for COMP 6651 – Winter 2019 by Dr. Tiberiu Popa, Concordia University.

About

Binary image segmentation technique using min-cut and the OpenCV library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages