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.

回答 (1 件)

David Young
David Young 2016 年 1 月 21 日

0 投票

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

7 件のコメント

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

サインインしてコメントする。

質問済み:

2016 年 1 月 21 日

コメント済み:

2016 年 1 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by