필터 지우기
필터 지우기

Making some intensity values of image to zero

조회 수: 5 (최근 30일)
Gova ReDDy
Gova ReDDy 2012년 5월 23일
hi..
How to zero the unwanted pixel intensity values of a image to zero.

채택된 답변

Stephen
Stephen 2012년 5월 24일
if your image is 'a', try
a(a>threshold)=0;
or try
max(a,threshold);
which makes the values equal to your threshold. maybe it is useful
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 5월 24일
The reverse, values less than the threshold are the ones to be set to 0 apparently.

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2012년 5월 23일
... Assign 0 to those matrix locations ?
Is there more to this question, such as automatically determining which pixels have "unwanted pixel intensity values" ?
  댓글 수: 1
Gova ReDDy
Gova ReDDy 2012년 5월 24일
Yeah,I'm planning to give some threshold like pixel intensity values less than 30 should be equal to zero in the image.

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

카테고리

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