i have a new idea for one of my old noise reduction algorithms. so, i'm trying to apply a certain amount of noise reduction to some pixels with slight change, but only if the change or difference is within a certain percentage, lets use 5% or 0.05 in excel. column C is formated as percetange for viewing purposes in this post.
the question is, did i do this correctly ?
the question is, did i do this correctly ?
Code:
if a pair of pixels is = or greater than 5%, apply filter1
if a pair of pixels is less than 5%, apply filter2
1 A B C D
2 70 70 0% =abs((a2-b2)*0.05)
3 70 71 5% =abs((a3-b3)*0.05)
4 70 69 5% =abs((a4-b4)*0.05)
5 10 20 50% =abs((a5-b5)*0.05)
6 255 128 635% =abs((a6-b6)*0.05)