I have to remove aliasing from this anime, is it possible?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Myfigure
Joined: Thu May 19, 2011 5:13 pm
Org Profile

I have to remove aliasing from this anime, is it possible?

Post by Myfigure » Thu May 19, 2011 5:15 pm

I have to remove aliasing from this anime, is it possible?

Example:

Image

With maa, naa3 or daa I have always this aliasing. It's strange...

Thanks in advance.:)

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by Mister Hatt » Fri May 20, 2011 4:42 am

They don't work because that isn't aliasing.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by mirkosp » Fri May 20, 2011 4:46 am

The issue is that the aliasing was amplified by the bad upscale, so the antialiasers have a harder time recognizing the aliasing there.
You first downscale to 720p with spline36resize and then use naa3. That should work.
Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by Mister Hatt » Fri May 20, 2011 9:19 pm

I don't think naa is the right one to use there to be honest. If you really want to AA it after downscaling, I would think supaa might do a better job, followed by EE or contrasharpening for some postprocessing I guess. If you reverse the upscale with the same technique that was used to get it to that state, you won't really need to fix aliasing anyway as I don't think aliasing was all that prevalent in the original source to begin with.

Myfigure
Joined: Thu May 19, 2011 5:13 pm
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by Myfigure » Sat May 21, 2011 2:25 am

I with spline36resize to 720p and simply with naa3() I have this:

Image

For you is it ok?

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by Mister Hatt » Sat May 21, 2011 5:57 am

I don't think using naa or spline36 is a good idea. That said, it obviously didn't work. naa was never designed for HD (and before anyone argues, I wrote it so I know what it was designed for) and cannot handle that kind of aliasing in the first place. Spline36 is also far too sharp. I think your best bets are lazymodo'ing with maybe bicubic resizing and trying supaa() with possibly some contrasharpening or EE to clean up if it seems a bit blurry, or otherwise pointresizing to an anamorphic scale and using daa to clean it up before re-upscaling it yourself. Content isn't HD anyway so it's not like you'd lose detail, just a bit of sharpness. Kinda obvious how they upscaled that anyway so undoing it shouldn't be too difficult.

Myfigure
Joined: Thu May 19, 2011 5:13 pm
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by Myfigure » Sat May 21, 2011 8:58 am

Thank you very much!
But where can I find supaa?

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by mirkosp » Sat May 21, 2011 4:50 pm

If you downloaded the AMVApp 3.1, it's with the other plugins for avisynth (or at least, it should be).
Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by Mister Hatt » Sat May 21, 2011 9:34 pm

If it isn't, I'll dig up my scripts from somewhere. Will probably be different to the one everyone else has seeing as some idiot on Doom9 butchered it but would work better anyway.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: I have to remove aliasing from this anime, is it possibl

Post by mirkosp » Sun May 22, 2011 4:07 am

Code: Select all

FUNCTION supaa(Clip Clp,Int"SS",Bool"CP")
{

OX = Clp.Width
OY = Clp.Height
SS = Default(SS,2)
CP = Default(CP,True)


Clp = Clp.IsYV12() ? Clp : Clp.ConvertToYV12()

Clp.nnedi2_rpow2(rfactor=SS,cshift="spline36resize",qual=3).SangNom().TurnRight()
\  .SangNom().TurnLeft().Spline36Resize(OX,OY)

CP ? Last : MergeChroma(Clp)

Return(Last)

}
Is the original you wrote.
Image

Locked

Return to “AviSynth Help”