How to find the centroid of specified intensiity?

1 次查看(过去 30 天)
I have two color white and black in the image. I have to find the center point of the white color.
  1 个评论
Sami
Sami 2013-12-15
The image i have attached with it. In this image my target is to determine the center of balloons. I have converted this image into Black and White color and the shaded area is also be covered by the bwboundaries() function and regionprop() function. Now do you have anyother suggestion for it.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2013-12-11
This is shown in detail in my Image Segmentation Tutorial http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862. Basically you threshold and then call regionprops().
  4 个评论
Image Analyst
Image Analyst 2013-12-15
Now that you've posted your image and added explanation, I can see that you want to find the red balloons. Did you not notice my color demos in my File Exchange. Look at this one: http://www.mathworks.com/matlabcentral/fx_files/31118/1/DeltaE_Screenshot.png It can find the red regions.
Image Analyst
Image Analyst 2013-12-26
So are you done asking me questions (is so, please accept), or do you still have something you need to resolve? I'm really puzzled as to why my code could not be adapted to find your balloons.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by