logo Sign In

Post #441457

Author
zombie84
Parent topic
GOUT image stabilization - Released
Link to post in topic
https://originaltrilogy.com/post/id/441457/action/topic#441457
Date created
17-Sep-2010, 9:47 PM

g-force said:

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

Haha, this is pretty awesome. I'm amazed at how advanced fan-based coding is becoming. I wonder how long until someone builds a freeware code to do the sort of dirt-replacement algoirthms that Lowry uses. In principle it doesn't seem like it is impossibly complicated...