필터 지우기
필터 지우기

Image edge to black

조회 수: 4 (최근 30일)
hendra prima
hendra prima 2012년 8월 21일
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
  댓글 수: 1
Jan
Jan 2012년 8월 21일
편집: Jan 2012년 8월 21일
Currently the best answer is:
Yes.
The algorithm is such trivial that I'm convinced, that somebody did this already.

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

채택된 답변

Image Analyst
Image Analyst 2012년 8월 21일
How about
imageArray(1,:) = 0;
imageArray(end,:) = 0;
imageArray(:,1) = 0;
imageArray(:,end) = 0;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by