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

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th March 2017, 00:33   #1  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
What do you think about the result of my AviSynth sharpening and denoising script?

I think I finally managed to remove sharpening artifacts(halo,...etc.)

If I'm wrong can you tell me if there is an artifact and what your thoughts are?


Original:
http://www.mediafire.com/file/8ffo4a...n/Original.avi

Result:
http://www.mediafire.com/file/e2nw45...tyv/Result.avi




Original:
http://www.mediafire.com/file/acx2y9...nal%282%29.avi

Result:
http://www.mediafire.com/file/meu7b5...ult%282%29.avi

ingoldie is offline   Reply With Quote
Old 7th March 2017, 01:00   #2  |  Link
Groucho2004
 
Join Date: Mar 2006
Posts: 3,538
Please post the script so we can try it on different sources.
Groucho2004 is offline   Reply With Quote
Old 7th March 2017, 01:17   #3  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Quote:
Originally Posted by Groucho2004 View Post
Please post the script so we can try it on different sources.
It's not ready for posting.

I tried my script on many different sources and it is working fine.
ingoldie is offline   Reply With Quote
Old 7th March 2017, 02:24   #4  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Other frames



ingoldie is offline   Reply With Quote
Old 7th March 2017, 02:24   #5  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 1,886
1. Black halos on white tower in the distance.

2. My bigger objection is that the wires in the distance, just below the tower, have a lot of strange noise around them in your "result" version, and the wires keep disappearing and reappearing. Some of the latter is, I suppose, the result of having a small detail that is just on the verge of being swallowed up by the noise.



Here is that same portion from the same frame of the After video:


The differences are pretty obvious, but you may have to blow up the images to see them, depending on how your browser displays these images.

These are certainly much, much better than some of your previous efforts with these same test clips. I now consider the "after" to be an improvement that most people would find more pleasant to watch, although the disappearing wires might be distracting on a really big screen.

Last edited by johnmeyer; 12th March 2017 at 03:01. Reason: Updated links to photos
johnmeyer is offline   Reply With Quote
Old 7th March 2017, 06:36   #6  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 3,483
They're somewhat over-sharpened for my taste so it's hard to offer an opinion without being able to dial back the sharpening. Also the "result" AVI seems to be darker than the original which I'm assuming isn't normally a desirable effect of sharpening. The same applies to the other screenshots.

The "before' AVI appears to have been denoised quite heavily and it's lost a lot of detail. Is that your denoising or is it prior to your denoising/sharpening filter?

I've looked more closely at the AVI comparisons than the screenshots as I assume the latter have all been downscaled, making comparing the results harder, but if I take the "result" AVI and open it in MPC-HC, then upscale it to 1080p with the Bicubic resizer it looks quite overly sharpened to me and the darkening doesn't help. MPC-HC's bilinear upscaling for the "result" AVI looks better to me as it blurs a little and takes the edge off the sharpening.
hello_hello is offline   Reply With Quote
Old 7th March 2017, 09:22   #7  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 490
Which filters are you using?
__________________
Asus X99 Sabertooth - Xeon E5 2695 - Asus Strix GTX 960 4G - DDR4 16GB Predator - Pioneer KRP 600M (isf calibrated) - Yamaha A3030 - Windows 10 x64 - Kodi with DSplayer - Lav - MadVR - XYsubtitle
Magik Mark is offline   Reply With Quote
Old 7th March 2017, 15:02   #8  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Quote:
Originally Posted by johnmeyer View Post
1. Black halos on white tower in the distance.

2. My bigger objection is that the wires in the distance, just below the tower, have a lot of strange noise around them in your "result" version
Yes, I knew it. johnmeyer is right.

Can someone please help me on removing those artifacts?

Quote:
Originally Posted by johnmeyer View Post
have a lot of strange noise around them in your "result" version
What type of noise is that?

Quote:
Originally Posted by hello_hello View Post
Also the "result" AVI seems to be darker than the original which I'm assuming isn't normally a desirable effect of sharpening.
Also I used some AviSynth color conversion and adjustment filters

Last edited by ingoldie; 7th March 2017 at 15:07.
ingoldie is offline   Reply With Quote
Old 7th March 2017, 16:52   #9  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 1,886
Quote:
Originally Posted by ingoldie View Post
Can someone please help me on removing those artifacts?
Since you have refused to post the script the answer is, obviously, no.
johnmeyer is offline   Reply With Quote
Old 11th March 2017, 14:38   #10  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,950


Even with luminance and backlight ultra low you can see the halo around the poles and most static objects very clearly

the overall deblur result is nice, but like always you amplified what was already hidden under it

though now the question is that result worth the computational time effort vs a simpler realtime approach, with that low res input

Also try to stay in non compressed space for the Spatial result even if the Generation lose might not be visible so much at first.

Compare your result vs other approaches outside of Doom9 a good start to test your result against

http://www.infognition.com/VideoEnhancer/
http://www.infognition.com/super_resolution_avisynth/
http://www.infognition.com/articles/..._shootout.html

there you also gonna find other test samples to compare against

Also understand what is your source and how it is actually decoded idct/fdct


I wouldn't want to go into this topic to much but a simple Spatial compare vs your script and a very well known 1 click realtime shader solution result (known as Adaptive Sharpen)

Orig



Your Script output



Adaptive Sharpen (based from Orig)



So overall some interesting results some pros and cons on each side in that test case

But then Temporal it shifts again and your result does way better

Almost same result with the 2nd test case

Orig



Your Script Result



Adaptive Sharpen




Now we could compare 1 level up with MadVRs Processing chain and higher Decoding complexity further especially on those ringing results and try to denoise directly.

Your Denoising seems overall very aggressive,though could be also that your result got more decimated or the ringing amplified overall running a second time with the reconstructed result through XviD at nearly identical setup for the final result output.

As Johnmeyer said the ringing is really a big issue visually you should concentrate on that next







Though it really seems counterproductive running through low bitrate XviD (ASP) again (result files) so some of your reconstruction efforts get lost again, you shouldn't release your results that way.

Don't run through the same lossy Codec after reconstruction at nearly identical setup, except you want to prove something on the codec side.

PS: i think you primary handling is right visually we see a NTSC->PAL conversion here on the input source and it was handled as PAL as such which seems wrong from the initial Camera input so first TV->PC conversion seems the way to go.
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 12th March 2017 at 13:00.
CruNcher is offline   Reply With Quote
Old 11th July 2017, 22:56   #11  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Can we say this is Super-Resolution?

Original(512x384)
http://www.mediafire.com/file/8ffo4a...n/Original.avi

Result2(1024x768)
(I used my upscaling script with my sharpening and denoising script)
http://www.mediafire.com/file/d1pd24...km/Result2.avi

Last edited by ingoldie; 14th July 2017 at 00:40.
ingoldie is offline   Reply With Quote
Old 11th July 2017, 23:06   #12  |  Link
davidhorman
I'm the Doctor
 
Join Date: Jan 2004
Posts: 1,331
Having no idea how it's made, no, we can't. Also not having a definitive, objective definition of "super-resolution."
__________________
My AviSynth filters / I'm the Doctor
davidhorman is offline   Reply With Quote
Old 12th July 2017, 16:40   #13  |  Link
EHarlen
Registered User
 
Join Date: Oct 2014
Posts: 29
Good.But I don't think it is enough for (1024x768)
EHarlen is offline   Reply With Quote
Old 14th July 2017, 01:05   #14  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Original(512x384)
http://www.mediafire.com/file/8ffo4a...n/Original.avi

Result(512x384)
(with my sharpening and denoising script)
http://www.mediafire.com/file/e2nw45...tyv/Result.avi

Result2(1024x768)
(upscaling script with my sharpening and denoising script)
http://www.mediafire.com/file/d1pd24...km/Result2.avi


Compare Result with Result2.You will see there is a obvious difference by adding of upscaling script.
ingoldie is offline   Reply With Quote
Old 14th July 2017, 02:32   #15  |  Link
LemMotlow
Registered User
 
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 231
And what script would that be?

Say, do you know what bleeding reds and posterizing are?
LemMotlow is offline   Reply With Quote
Old 17th July 2017, 20:12   #16  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Is it possible to convert AviSynth script to MPC-HC shaders(.hlsl file) to play video in real time.

If yes, can you help me?
ingoldie is offline   Reply With Quote
Old 17th July 2017, 23:56   #17  |  Link
EHarlen
Registered User
 
Join Date: Oct 2014
Posts: 29
Yes, it is possible.

https://forum.doom9.org/showthread.php?t=171346

But I don't know how to convert avs files to shaders.

Last edited by EHarlen; 18th July 2017 at 00:00.
EHarlen is offline   Reply With Quote
Old 5th August 2017, 00:59   #18  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 82
Here is my best

Original(512x384)
http://www.mediafire.com/file/8ffo4a...n/Original.avi

Result(1024x768)
(upscaling with my sharpening and denoising script)
http://www.mediafire.com/file/2ku61a...v3/Result3.avi



Original2(512x384)
http://www.mediafire.com/file/acx2y9...nal%282%29.avi

Result(1024x768)
(upscaling with my sharpening and denoising script)
http://www.mediafire.com/file/xj8pou...lt2%282%29.avi

Last edited by ingoldie; 7th October 2017 at 21:29.
ingoldie is offline   Reply With Quote
Old 5th August 2017, 15:14   #19  |  Link
EHarlen
Registered User
 
Join Date: Oct 2014
Posts: 29
These are better.
EHarlen is offline   Reply With Quote
Old 5th August 2017, 17:07   #20  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 333
Please share the script if you were asking other people's opinion. People won't bash you for your script's "wrong" parts.
There are very few people does that here.

Last edited by bxyhxyh; 5th August 2017 at 17:11.
bxyhxyh is offline   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 22:25.


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