Image Contour Detection for Grayscale image with textured background

Hello! I am trying to do a contour detection of 2 mice and have tried several methods found on matlab including imcountour, contourf, and edge. I want the final product to be what is shown here:https://www.mathworks.com/help/images/ref/imcontour.html but given the quality and composition of the image I need to optimize the code.
Original
original image of mice
Edge detection using the edge function
One example using the canny method
An example of a contour pllot on this image once it is sharpened:
Thank you!

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by