Segment 2D image into 3 equal parts

I'm currently trying to draw 2 vertical lines at each lung, to divide them into three almost equal parts but I'm having some trouble.
To be really honest I'm not sure where to begin.
Could you please help me?
Thanks in advance,
J

2 Comments

im=rgb2gray(imread('image11.jpg'));
[rows colm]=size(im);
%Find the blob properties and calculate the distance
%Draw the lines at particlar column
imshow(im);
wo.png
Is this you are looking for?
Yes! That's it! Thanks!!

Sign in to comment.

Answers (0)

Tags

Asked:

on 23 Jul 2019

Commented:

on 23 Jul 2019

Community Treasure Hunt

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

Start Hunting!