Skip to content

zahrasa/Region-Growing-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Region-Growing-Algorithm

classical image processing

The region growing method is a well-developed technique for image segmentation. It postulates that neighboring pixels within the same region have similar intensity values. In this repository, the area growth algorithm is implemented for the Balls.jpg image and the difference criterion is the seed pixel.

input

The ready-made functions cv2.setMouseCallback and cv2.EVENT_LBUTTONDBLCLK are used for graphical interface and specification of seed pixels. A sampled output is shown bellow when the seed pixel was in the white areas of the central ball. It can be seen that the algorithm has correctly specified all those connected areas just by knowing 'one' pixel (the seed).

result

About

classical image processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published