Clear Filters
Clear Filters

Image segmentation into exact halves

2 views (last 30 days)
Pravita Lekshmanan
Pravita Lekshmanan on 14 Jun 2019
Commented: Image Analyst on 17 Jun 2019
How can i segment an image exactly into half using its centroid value
Like an image i have attached one
  2 Comments
Himanshu Rai
Himanshu Rai on 17 Jun 2019
Can you attach a png or jpg file ?
Image Analyst
Image Analyst on 17 Jun 2019
If the centroid is the middle, then the right and left portions may not be exactly half.
Or are you talking about one blob in the image, not the whole image itself. And you want to split that blob into a right and left half with the centroid as the vertical separation line? Again - the two "halves" may not have exactly the same areas.
Attaching PNG files makes it easier for us to see right here, than fig files, which requires saving and then opening in MATLAB.

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!