Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Thread Tools Search this Thread Display Modes
Old 8th January 2019, 05:44   #1  |  Link
Registered User
Join Date: Nov 2015
Posts: 79
Restore/Improve old anime quality

I'm trying to restore/improve the quality of the movie End of Evangelion. I'm a total noob with Avisynth because I use MeGUI to encode but I don't write any script.

I'd like to achieve the same result this person got when restoring/improving the original series, the images on the left are the original, the ones on the right are after the encode, the lines are thinner and it has less noise and blockiness (I think, not sure)

Now, these are some screenshots from the End of Evangelion movie:

Is it posible to write a script to get similar results?

Here's one last comparisson, first image is the original series, second image is the improved one, and the third image is from the movie I want to "improve"

EDIT: why the hell the images are gigantic in the post?!

Last edited by doomleox999; 13th January 2019 at 04:23.
doomleox999 is offline   Reply With Quote
Old 8th January 2019, 06:43   #2  |  Link
HeartlessS Usurer
StainlessS's Avatar
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,544
If you use PostImage.org, you can select ThumbNail for Forums, for small graphic which when clicked on, pulls up the original image.
(dont need an account but better if you do).
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 8th January 2019, 09:58   #3  |  Link
Registered User
Join Date: Aug 2017
Posts: 9
For the lines to become thinner and sharper, aWarpSharp could help with it. It also looks like the levels were adjusted from an SD source to HD and are brighter as well.

For film sources which this may have been scanned from, I'd recommend using TemporalDegrain2 found on this forum. It can easily clean up grain while keeping the detail.

Try using autolevels and TemporalDegrain2 first and see if it's able to remove the grain enough. If not, I'd recommend checking out waifu2x which is a cartoon/anime upscaler and can be used to upscale or denoise. Waifu2x Caffe offers more features and models than the avisynth plugin though so it won't be possible to do it all in Avisynth.

Last edited by camjac251; 8th January 2019 at 10:08.
camjac251 is offline   Reply With Quote
Old 8th January 2019, 16:43   #4  |  Link
Registered User
Join Date: Sep 2006
Posts: 1,643
You shouldn't do anything beside degrain, do not thin the line.

As for the color, if you have an identical working and reference image, you should be able to get the curve used by the reference image with 3dlut creator: first color match to the reference and then extract the rgb curve. But since the images are not identical, this probably is not going to work.
lansing is offline   Reply With Quote
Old 8th January 2019, 19:30   #5  |  Link
Registered User
Join Date: Oct 2011
Posts: 275
Also you have both identical frames, one before, one after color changes (In you last picture the 2 first pics are not exactly the same) it is also possible using Gimp and G'mic plugin "CLUT from After - Before Layers" to get a Clut file that will be the difference between the two pictures, then possible to directly use the clut file with ffmpeg or use "IWLTBAP LUT Generator" to convert the clut into a .cube file and use it with the 3dlut plugin for avisynth.

It needs good quality identical frames, imgur host compress them way too much and there is a big loss of quality. The host StainlessS recommended i think do not compress pics so it should be good one if you identical full size reference frames.

Still in Gimp it is possible to use the elsamuko's "get curves" plugin to get a curve that will be the difference of the 2 images, then apply this curve into a reference haldclut image, then again use this haldclut file directly in ffmpeg or convert it to a .cube file to use in avisynth.
Yanak is offline   Reply With Quote
Old 9th January 2019, 04:45   #6  |  Link
Registered User
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
The images on then right are over saturated and look like bad phony attempts at Disney cartoons.
Maybe you've been watching too many bad YouTube videos.
LemMotlow is offline   Reply With Quote

encode, noise, old anime

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 21:37.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.