if there a synatix that selects and cuts a line of a image in matlab?

1 vue (au cours des 30 derniers jours)
hi
i'm looking for syntax that selects a line in a image and cuts it. or is there anything around it?
Thanks

Réponse acceptée

Image Analyst
Image Analyst le 24 Août 2017
What do you mean by "cut"? You mean remove that line, as in
grayImage(row, :) = []; % Remove this row from the image, shrinking the image vertically.
Or do you mean something like improfile(), which gets you the intensity profile along a line between two points?
  2 commentaires
Walter Roberson
Walter Roberson le 24 Août 2017
Or maybe it is an roi selection either freehand or rectangular? Or maybe it is defining a line and then cutting it into the image, altering the image to have the line drawn on it..
hasan alhussaini
hasan alhussaini le 24 Août 2017
improfile is good enough :)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by