crop the image where higher intensity pixel

3 次查看(过去 30 天)
I have an gray-scale image that contains the image having 2 white balls that are of higher intensity pixel i want to crop those area separately and automatically. but i need help how can i code it that area should be rectangularly cropped only of high intensity pixel areas... help me please

回答(1 个)

Image Analyst
Image Analyst 2014-5-12
I do exactly that, but with coins, in my Image Segmentation Tutorial http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Try it out.
  2 个评论
Filza Ashraf
Filza Ashraf 2014-5-14
sir but can you tell me how can i get only area with high intensity i mean of 255 when i implement you code on my image only one tumour area get cropped perfectly and other cropped areas are blurred can you check that for me as i have uploaded the image as well please
Image Analyst
Image Analyst 2014-5-14
My code doesn't blur anything. You must have changed it. Where did you upload your image? Please attach it here, as well as my modified code that you used to blur the image.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by