How can I remove the boundary around an object?

2 views (last 30 days)
I have a dicom Image and I applied edge command on it (canny) but now I want to remove the edge or boundary around the object.I tried to use some for loop for it but it doesn't work properly. Is there any other command so that I can use? and also I want to remove some noise around the image,what should I do? The main thing that I want is to find the maximum pixel of this image,but because there is some highlight boundary around the image I can not find the maximum which is inside the picture. Is there any other way for finding maximum pixel inside the image?

Accepted Answer

Nitin
Nitin on 22 Jan 2014
Please have a look at regionprops and bwboundary

More Answers (0)

Community Treasure Hunt

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

Start Hunting!