From: Hamirul Hambali on
Hello,

I'm doing research on jatropha fruit. I need your help for segmentation of the fruit. Currently I'm using thresholding technique and edge detection method to separate fruit image from background. However, it's not applicable for all fruit with different maturities where I cannot get the perfect shape of jatopha for certain fruits. I have also tried Sobel edge based technique, but I don't know how to select and extract the fruit from the image. I really need ideas or sample of code that be used in my project. Your answer is highly appreciated. Tq very much.
From: ImageAnalyst on
This must be one of the most common homework projects there is.
Search the newsgroup and you'll find lots of ideas, including code.
From: us on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <4623cbf7-1e24-4107-b4ad-ff8e3acc414f(a)r10g2000vbn.googlegroups.com>...
> This must be one of the most common homework projects there is.
> Search the newsgroup and you'll find lots of ideas, including code.

....and - eat a fruit yogurt...
this will give you the energy needed to wade through the vast amount of information you'll find on CSSM...

us
From: Wolfgang Schwanghart on
You should take a more careful look at the documentation of the image processing toolbox.

http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipexwatershed.html

This should do exactly what you want.

Best regards, Wolfgang

"Hamirul Hambali" <hamirul1187(a)gmail.com> wrote in message <hhrmfq$hif$1(a)fred.mathworks.com>...
> Hello,
>
> I'm doing research on jatropha fruit. I need your help for segmentation of the fruit. Currently I'm using thresholding technique and edge detection method to separate fruit image from background. However, it's not applicable for all fruit with different maturities where I cannot get the perfect shape of jatopha for certain fruits. I have also tried Sobel edge based technique, but I don't know how to select and extract the fruit from the image. I really need ideas or sample of code that be used in my project. Your answer is highly appreciated. Tq very much.