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

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.
Myfigure
Joined: Thu May 19, 2011 5:13 pm
Org Profile

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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

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

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

Postby Myfigure » Sun May 22, 2011 4:46 am

Thank you!

I have this with supaa():

Image

There is less aliasing, right?

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

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

Postby Myfigure » Sun May 22, 2011 4:49 am

Anyway, I see banding. Example:

Image

I have to use debanding?

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

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

Postby Scintilla » Sun May 22, 2011 9:20 am

Myfigure wrote:Anyway, I see banding. Example:

Quoted Image converted to link:
http://imageshack.us/photo/my-images/807/banding.png/

I have to use debanding?

It says the image is supposed to be 1280x720, but I can't seem to view it at that size -- I click the "Zoom" button on Imageshack, and the page that loads has the image at exactly the same size (just with 100% more annoying popup advertisements). :?
At the smaller size, I can't see the banding problem.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

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

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

Postby Myfigure » Sun May 22, 2011 9:58 am

Scintilla wrote:
Myfigure wrote:Anyway, I see banding. Example:

Quoted Image converted to link:
http://imageshack.us/photo/my-images/807/banding.png/

I have to use debanding?

It says the image is supposed to be 1280x720, but I can't seem to view it at that size -- I click the "Zoom" button on Imageshack, and the page that loads has the image at exactly the same size (just with 100% more annoying popup advertisements). :?
At the smaller size, I can't see the banding problem.


Try this: http://imageshack.us/m/805/4743/banding2.png

:)

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

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

Postby Cannonaire » Sun May 22, 2011 10:06 am

I don't see banding, but I do see blocking, which is most likely a result of the compression. It looks fairly minor in the screenshots, but as with many video artifacts it might need to be seen in motion to truly gauge how much of a problem it is. If it is an issue, you can try a deblocker on a low setting. I've only used deblock(), but it has worked well for me so far. Perhaps someone else has another suggestion or reasons why deblock() might not be a good idea.

Because the footage seems to be prone to blocking, you might want to read up on the --deblock flag in x264 ('deblocking' settings in Zarx264gui) when it comes time to encode your video for release. If you do it right and you also aren't too aggressive with quantization, you can keep the blocking from appearing again in the final product.
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.


Return to “Footage Help”

Who is online

Users browsing this forum: No registered users and 2 guests