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