![wo.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/230938/wo.png)
Segment 2D image into 3 equal parts
1 view (last 30 days)
Show older comments
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
KALYAN ACHARJYA
on 23 Jul 2019
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/230938/wo.png)
Is this you are looking for?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!