Doctor M said:
Hey, just a quick OT thank you.
I was working on another project today and the source had some unpleasant aliasing. I remembered a line in this script about it:
[code]########## anti-alias
NNEDI2(dh=true, field=0)
NNEDI2(dh=false,field=1)[/code]
I've never seen that done before, I'm not sure HOW it works, but it does a beautiful job.
Thanks.
I'm glad it's useful even outside of the GOUT sources. You may not like the answer on how it works, but here goes anyway:
1. neural-network interpolate a line in between every line of resolution.
2. throw away all original lines and neural-network interpolate every line in between the first interpolated lines.
3. the next step that you didn't include is to resize back to original height.
That's right, there are absolutely no original lines of resolution remaining from the source. They are all interpolated. Kinda scarey I know, but it works amazingly well, doesn't it?
-G