dividing an image into two with the aid of a line
Mostrar comentarios más antiguos
hello! I have not much experience with matlab and I have a question! I wonder if drawing a line on an image, the image can be divided into two parts from that line and represent each of them separately! thank you very much to all
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 29 de Abr. de 2013
0 votos
How do you want to handle it if the line starts and stops within the image? Do you want to extend it until it hits the edge of the image? And then take the bounding box of each quadrilateral and zero out parts on the "wrong" side of the line?
6 comentarios
elena
el 30 de Abr. de 2013
Image Analyst
el 30 de Abr. de 2013
So you have two quadrilateral-shaped gray scale images. What does it mean to "plot" them? Some kind of line curve that represents what???
Image Analyst
el 1 de Mayo de 2013
Editada: Image Analyst
el 1 de Mayo de 2013
Do you mean like this:

so that you save two rectangular images, each with a three to five-sided black region?
sameena pathan
el 21 de Mzo. de 2017
Hello Sir, Kindly help me in resolving this issue. How to divide a segmented portion of an image into two halves with respect to the major axis of the image? Your Kindness is greatly appreciated
waffle
el 8 de Abr. de 2017
can u help me how to do that
Image Analyst
el 8 de Abr. de 2017
What information do you have so far? Do you at least have the formula or endpoints of the line? Or do you not even have that? If not, then what do you need to do to get that? Do you need to develop the ENTIRE image segmentation algorithm right from the very start after you call imread()? (I hope not.)
Categorías
Más información sobre Display 2-D Images en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
