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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd August 2020, 10:30   #41  |  Link
gmail123
Registered User
 
Join Date: Dec 2014
Posts: 19
hq/vdsr model,a lot of Mosquito noise,how to get rid of?...
gmail123 is offline   Reply With Quote
Old 3rd August 2020, 08:46   #42  |  Link
hungryeyes
Registered User
 
Join Date: Apr 2019
Posts: 3
thank goodness for this script. I've been trying to get waifu2x to work without having to write temporary files (am noob) and this looks like it will work way better. I'm particularly anxious to see how it will handle old DVDs with interlacing.
hungryeyes is offline   Reply With Quote
Old 3rd August 2020, 12:06   #43  |  Link
Alexkral
Registered User
 
Join Date: Oct 2018
Posts: 197
Quote:
Originally Posted by hungryeyes View Post
I'm particularly anxious to see how it will handle old DVDs with interlacing.
Interlaced content is not supported, you'll have to deinterlace first.
Alexkral is offline   Reply With Quote
Old 3rd August 2020, 21:57   #44  |  Link
hungryeyes
Registered User
 
Join Date: Apr 2019
Posts: 3
some of the first ai upscalers started as deinterlacing filters, such as nnedi. odd scanlines were interpolated, and since the result was quite nice, it led to use as a general upscaler. anyway, a lot of damage can still happen when trying to go progressive, so my idea is to AI upscale THEN deinterlace to try and eek out as much detail as possible. something like SeperateFields->AiUpscale->Weave->QTGMC. the question is- will the trained model perform when fed half-height photos, or is even more processing required.
hungryeyes is offline   Reply With Quote
Old 3rd August 2020, 23:09   #45  |  Link
Alexkral
Registered User
 
Join Date: Oct 2018
Posts: 197
Quote:
Originally Posted by hungryeyes View Post
something like SeperateFields->AiUpscale->Weave->QTGMC. the question is- will the trained model perform when fed half-height photos, or is even more processing required.
From my very limited experience with interlaced content, I'd say that should work fine.
Alexkral is offline   Reply With Quote
Old 4th August 2020, 07:01   #46  |  Link
markiemarcus
Registered User
 
Join Date: May 2018
Posts: 44
All seems to be working really well. Regarding the dither problem you'd mentioned in the Avisynth Shader thread, does the usual high bit depth approach work around this? For example:

ConvertBits(16)
AiUpscale(luma="vdsr",Chroma="KrigBilateral",mode="illustration")
ConvertBits(8, dither=-1)
markiemarcus is online now   Reply With Quote
Old 4th August 2020, 08:32   #47  |  Link
Alexkral
Registered User
 
Join Date: Oct 2018
Posts: 197
Processing is done at 16 bit depth anyway, but if the input is 8 bit, the output is converted to 8 bit (without dithering) in the script before returning it. If the input is 16 bit, so is the output, but the transfer to the GPU is slower.

The problem is that AviSynth Shader uses ordered dithering when converting to 8 bit on the GPU before returning the result, so the conversion cannot be done this way which would be faster.
Alexkral is offline   Reply With Quote
Old 4th August 2020, 09:21   #48  |  Link
markiemarcus
Registered User
 
Join Date: May 2018
Posts: 44
Yes that's definitely a nuisance; there are often times where you need additional processing post upscale and having dither baked like that isn't ideal.

Just to clarify though, passing 16-bit to AIUpscale like this, even though it offers no quality benefits and is slower, doesn't add dither?
markiemarcus is online now   Reply With Quote
Old 4th August 2020, 10:40   #49  |  Link
Alexkral
Registered User
 
Join Date: Oct 2018
Posts: 197
Dithering is for bit depth reduction only, so no. I could add an option to return 16 bit for an 8 bit input in the next release.
Alexkral is offline   Reply With Quote
Old 4th August 2020, 11:06   #50  |  Link
markiemarcus
Registered User
 
Join Date: May 2018
Posts: 44
Gotcha, thanks for the clarification. It's actually no real biggie for me given there's some HBD processing going on before and afterwards, but I'm sure that such an extra option might be useful for some.

Many thanks again for your hard work. The results are really impressive and it's considerably faster than every other NN upscaler I've tried. It's just so useful being able to modify the denoising on-the-fly to get the best out of it.
markiemarcus is online now   Reply With Quote
Reply

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:57.


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