Jump to content
  • Advertisement
Sign in to follow this  

Generalized Kuwahara Filter from GPU Pro 1

This topic is 2060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to understand something about the Generalized Kuwahara Filter discussed on page 251 of "GPU Pro 1." 


On page 252, he defines the "weighted mean" at a point (x0, y0).  My questions are:


1. Is (x0,y0) the point being filtered?  I'm assuming the shift w_k(x-x0, y-y0) is used to center the weight function about the point (x0, y0).


2. Multiplying the image by this weight when computing the mean gives bias to pixels in the sector subregion.  Is that just a side effect when building the smooth weight functions?  When computing the subregion mean, I don't see why some pixels should be given more weight than others. 


3. Why compute the "weighted variance" in the subregion?  Why not just the variance, and use that to define the subregion weight?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!