E-Male
15th July 2004, 13:17
i'm working on my first denoiser which turned out more difficult than i thought
after some strange errors i got down to this:
dstpY[x] = (srcpY[x] + srcpY[x])/2;
IMO that should output the input without changes
BUT it does not
sample pic (http://e-rels.dyndns.org/downloads/error.png)
code (http://e-rels.dyndns.org/downloads/error.cpp)
i hope one of the experienced programmers can show me the mistake i can't find myself
THX
E-Male
after some strange errors i got down to this:
dstpY[x] = (srcpY[x] + srcpY[x])/2;
IMO that should output the input without changes
BUT it does not
sample pic (http://e-rels.dyndns.org/downloads/error.png)
code (http://e-rels.dyndns.org/downloads/error.cpp)
i hope one of the experienced programmers can show me the mistake i can't find myself
THX
E-Male