Skip to main content
11 events
when toggle format what by license comment
Feb 4, 2016 at 18:44 comment added DMGregory @JoshPetrie In the context of a bilateral blur, I think it's more likely that the "intensity" sought is luminance/luma/luminosity, or a measure of RGB difference between the two pixels. It really depends what the bilateral blur is being used to accomplish though (I've seen it used with depth values used as intensity, for instance). I'd like to ask again that user3513743 clarify what they're trying to use the blur to accomplish - what's the goal of applying this filter?
Feb 4, 2016 at 17:05 answer added user1430 timeline score: 2
Feb 4, 2016 at 16:57 comment added user1430 I don't think that code is relevant, I think it just distracts. When you say "compute intensity," do you mean you want the average intensity of the entire image, or a way to compute the intensity of a single color? Also, if you mean something other than "purity of hue" as I discuss below when you say "intensity," please note that so I can adjust my answer.
Feb 4, 2016 at 16:54 history edited user1430 CC BY-SA 3.0
deleted 1 character in body; edited title
Feb 4, 2016 at 14:22 review Close votes
Feb 19, 2016 at 3:03
Feb 4, 2016 at 14:13 history edited terry CC BY-SA 3.0
added 3616 characters in body
Feb 4, 2016 at 14:12 comment added terry code up top in original post
Feb 4, 2016 at 14:09 comment added terry So far I'm doing a simple Gaussian blur of with weighted average. then I need to test the color for color.
Feb 4, 2016 at 14:02 comment added wondra Depends what "intensity" is for you. There are tens if not hundreds ways how to calculate color intensity.
Feb 4, 2016 at 14:02 comment added DMGregory Bilateral blur usually works the opposite way to what you've described — blurring the image where intensities are similar and leaving edges (areas of intensity difference) sharp. Can you tell us more about what kind of effect you're using the blur to achieve? There are multiple ways to define intensity for a colour, each with their own applications.
Feb 4, 2016 at 13:58 history asked terry CC BY-SA 3.0