Borrar filtros
Borrar filtros

Color Histogram weighted by non-isotropic Gaussian Kernel

1 visualización (últimos 30 días)
Rui Zhao
Rui Zhao el 17 de Jun. de 2012
I have a patch to extract color histogram, meanwhile I want to incorporate the spatial weights into the color histogram. The spatial weight is decided by a non-isotropic Gaussian kernel, how could I add the weight for corresponding pixels when computing color histogram?

Respuestas (1)

Image Analyst
Image Analyst el 17 de Jun. de 2012
How about multiplying something by the weight and adding it to whatever you're going to add it to. That's about all I can say given this vague description of an algorithm and the lack of any code, pseudocode, or equation.
  1 comentario
Rui Zhao
Rui Zhao el 17 de Jun. de 2012
Just solved it. After dividing the image into small blocks, and computing their color histogram, I can weight each color histogram by the total energy of the kernel within that block. Then sum all histograms up or just concatenate them, I can get the weighted color histogram.
Sorry for the vague description because I didn't have the clear idea then.

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by