필터 지우기
필터 지우기

Color Histogram weighted by non-isotropic Gaussian Kernel

조회 수: 1 (최근 30일)
Rui Zhao
Rui Zhao 2012년 6월 17일
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?

답변 (1개)

Image Analyst
Image Analyst 2012년 6월 17일
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
Rui Zhao
Rui Zhao 2012년 6월 17일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by