Making some intensity values of image to zero

 採用された回答

Stephen
Stephen 2012 年 5 月 24 日

1 投票

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 日

0 投票

... 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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File 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