Khanattila / KNLMeansCL

An optimized OpenCL implementation of the Non-local means de-noising algorithm
GNU General Public License v3.0
106 stars 21 forks source link

blending when set h>20 and d>0 #33

Closed JasinChen closed 6 years ago

JasinChen commented 6 years ago

core.knlm.KNLmeansCL(video,h=20)

And then I can see the blending in the preview. It looks like two adjacent image mixed. It's more obvious when set 'h' higher. When set 'd' to 0 the blending disappear.

WolframRhodium commented 6 years ago

Isn't it a normal behavior of NLM? The NLM filter equals simple average filter in both spatial and temporal domain as "h" approaches infinity, and setting "d" to 0 means spatial-only filtering, thus no temporal blending will occur.

Khanattila commented 6 years ago

It's not an issue as @WolframRhodium said.