How to do adaptive threshold for oversegmentation

I'm attaching the segmented image which is to be over-segmented using adaptive thresholding and the original image. After thresholding a lot of times i just need the overlapped fruits only and it should be separated each so that i can count how many fruits are there totally. Please help me with codes.

Answers (0)

Asked:

on 5 Mar 2018

Edited:

on 5 Mar 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!