Page 1 of 1

Features of Cashew Nut's Kernel

PostPosted: Fri Nov 17, 2017 6:52 pm
by badjinn
I'm working with my semestral project. I need to extract the Kernel from the shell and find its features (Color, Shape and Size).

(getting the Color)
I'm able to do the colorfiltering (the RGB-thing) but I think its not that helpful because not all are the same color.
I only use RGB-thing because for me it is less complicated.

(getting the Shape)
After colorfiltering I will use the image with edge detection (canny) which will give me only the edges.
I also use different filters like dilation, erosion and closing just to get only the kernel's edge but it is not yet that decent and it always includes the shell.

(getting the size)
Still working on this.

The cashew nut image (original image).
nutimage2.jpg (20.41 KiB) Viewed 6946 times

With colorfiltering RGB-thing. I use scrollbar to change the RGB and sometimes I used color picker to set the RGB.
I always increase the RGB setting for the disappearance of the shell.
color-feature.JPG (22.46 KiB) Viewed 6946 times

After colorfiltering, Edge detection (canny). (screenshot)
shape-feature.JPG (20.36 KiB) Viewed 6946 times