Segment 2D image into 3 equal parts

2 views (last 30 days)
João Mendes
João Mendes on 23 Jul 2019
Commented: João Mendes on 23 Jul 2019
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
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
Is this you are looking for?
João Mendes
João Mendes on 23 Jul 2019
Yes! That's it! Thanks!!

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!