Skip to content

Segmentation based on similarity measure including Intensity difference and Distance of pixels. Also effect of rotation and addition of gaussian noise on segmentation is visualized using Matplotlib.

Notifications You must be signed in to change notification settings

avnCode/Image_Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Segmentation (Using nCut)

Normalized Cut is a classical way of Image Segmentation. Which uses Similarity Matrix which can be based on several factors used for segmentation like Intensity, Distance, Texture, Colour. here i have done two kind of implementation first implementation is based on Intensity only and second is based on Intensity and Distance both. also effect of rotation and addition of gaussian noise on segmentation is visualized using Matplotlib.

Sample Image:

test2

Normalized Cut Output Comparision:

Screenshot 2023-02-10 185717

Incorporating distance along with Intensity difference of the pixels helps in segmentation of individual object as whole. in the example shown, we observe that eye are seperated as another segment when performing nCut using intensity difference only. but when used along with distance similarity eyes and baby is segmented as a single entity which is desirable.

Output(Original Image Segmentation, Effect of Rotation , Effect of Gaussian Noise addition):

1  test2

About

Segmentation based on similarity measure including Intensity difference and Distance of pixels. Also effect of rotation and addition of gaussian noise on segmentation is visualized using Matplotlib.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published