Borrar filtros
Borrar filtros

Making some intensity values of image to zero

4 visualizaciones (últimos 30 días)
Gova ReDDy
Gova ReDDy el 23 de Mayo de 2012
hi..
How to zero the unwanted pixel intensity values of a image to zero.

Respuesta aceptada

Stephen
Stephen el 24 de Mayo de 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 comentario
Walter Roberson
Walter Roberson el 24 de Mayo de 2012
The reverse, values less than the threshold are the ones to be set to 0 apparently.

Iniciar sesión para comentar.

Más respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by