how to find threshold

6 visualizaciones (últimos 30 días)
Sapam Jaya
Sapam Jaya el 10 de Nov. de 2013
Comentada: Sapam Jaya el 12 de Nov. de 2013
I have calculated the variance of an image.now i need to classify the pixels as foreground when the variance is more than a threshold ,otherwise it is classified as background pixel.how to select this threshold

Respuesta aceptada

Image Analyst
Image Analyst el 10 de Nov. de 2013
Editada: Image Analyst el 10 de Nov. de 2013
It doesn't make sense to do what you said globally - just think about it.
There are several ways to do it locally adaptive: blockproc(), stdfilt(), nlfilter(), nested for loops, etc.
I show two of these in the demo attached below.
  1 comentario
Sapam Jaya
Sapam Jaya el 12 de Nov. de 2013
it must b local variance..thnx a lot

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by