Making some intensity values of image to zero

 Réponse acceptée

Stephen
Stephen le 24 Mai 2012
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 commentaire

The reverse, values less than the threshold are the ones to be set to 0 apparently.

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 23 Mai 2012

0 votes

... Assign 0 to those matrix locations ?
Is there more to this question, such as automatically determining which pixels have "unwanted pixel intensity values" ?

1 commentaire

Gova ReDDy
Gova ReDDy le 24 Mai 2012
Yeah,I'm planning to give some threshold like pixel intensity values less than 30 should be equal to zero in the image.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by