How to smoothen cropped image?

My project is to segment knee cartilage to detect the damaged cartilage. In the first step I selected ROI by using imcrop. Now I want to smoothen the cropped image so that the output after segmentation is clear.In the attached figure, left side is the cropped image and right side is the image I want to get as output. Please help me with coding. Thank u.

Respuestas (1)

David Young
David Young el 21 de En. de 2016

0 votos

If you have the Image Processing Toolbox, you could use imgaussfilt.

7 comentarios

mounika siripurapu
mounika siripurapu el 22 de En. de 2016
Thank u. But my image is of class unit8.
Image Analyst
Image Analyst el 22 de En. de 2016
So?
mounika siripurapu
mounika siripurapu el 23 de En. de 2016
I am getting an error as...the input should be double.
Image Analyst
Image Analyst el 23 de En. de 2016
So cast it to double.
mounika siripurapu
mounika siripurapu el 23 de En. de 2016
Ok. Thanq. Actually I want to perform preprocessing of knee MRI like cropping region of interest,filtering the cropped region and finally smoothing. Please send me sample codes related to preprocessing if possible. Thank you.
Image Analyst
Image Analyst el 23 de En. de 2016
See my demo for freehand masking, attached. To smooth, you can use imfilter() or conv2().
mounika siripurapu
mounika siripurapu el 23 de En. de 2016
Thank you.

Iniciar sesión para comentar.

Preguntada:

el 21 de En. de 2016

Comentada:

el 23 de En. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by