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

1 view (last 30 days)
i'm looking for syntax that selects a line in a image and cuts it. or is there anything around it?

Accepted Answer

Image Analyst
Image Analyst on 24 Aug 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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by