mardi 20 janvier 2015

Image filter to separate ricegrains


Vote count:

0




I am trying to solve an image filtering issue with MATLAB 2013a. Here are two images on which I am trying to work. Successfully doneLooking impossible to filter


My aim is to obtain each rice grain as a separate image.


Following is the process I used and was successful for the first image. 1) Convert to gray scale, 2) Obtain grey threshold, 3) Convert to binary, 4) Perform dilation and erosion for more accurate filtering, 5) Use connected component analysis with bwconncomp, 6) Save each component.


Now if I try to achieve similar binary image for image2, all the rice grain connected to each other comes as a single component.


I have tried to derive edge map with 'canny' or any other like 'sobel', its not working.


Can someone please guide me to achieve this.



asked 1 min ago

Damon

182






Image filter to separate ricegrains

Aucun commentaire:

Enregistrer un commentaire