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.

Answers (1)

David Young
David Young on 21 Jan 2016
If you have the Image Processing Toolbox, you could use imgaussfilt.

7 Comments

Thank u. But my image is of class unit8.
I am getting an error as...the input should be double.
So cast it to double.
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.
See my demo for freehand masking, attached. To smooth, you can use imfilter() or conv2().

Sign in to comment.

Asked:

on 21 Jan 2016

Community Treasure Hunt

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

Start Hunting!