필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
hi
i'm looking for syntax that selects a line in a image and cuts it. or is there anything around it?
Thanks

채택된 답변

Image Analyst
Image Analyst 2017년 8월 24일
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
Walter Roberson
Walter Roberson 2017년 8월 24일
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..

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by