How can I remove the boundary around an object?

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?

 Réponse acceptée

Nitin
Nitin le 22 Jan 2014

0 votes

Please have a look at regionprops and bwboundary

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by