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. |
14th October 2013, 14:54 | #20381 | Link |
Registered User
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
|
I m not talking about the problem FULL and LIMITED. This already works out-of-the-box with the latest Intel driver (you can simply select AUTO, FULL or LIMITED in the Intel Control Panel and it works perfect).
I am talking about huhn saying that Intel cards output ycbcr and not rgb and that this is supposed to affect PQ in a bad way when using madVR. |
14th October 2013, 16:31 | #20382 | Link | |
Registered User
Join Date: Sep 2006
Posts: 212
|
Quote:
Also, my post wasn't directed at you but mVR users in general who have struggled as I have to achieve proper blacks with their HTPC.... |
|
14th October 2013, 17:29 | #20383 | Link |
Registered User
Join Date: Feb 2013
Posts: 137
|
Quote:
Here my current settings : low : avgDif: 0.7 maxDif: 2.5 gradient: 1.5 nonGradientPenalty : 1.2 mid : avgDif: 1.2 maxDif: 3.2 gradient: 2.8 nonGradientPenalty : 1.3 high : avgDif: 2.3 maxDif: 4.0 gradient: 4.3 nonGradientPenalty : 1.3 For low, the debanding is effective and there is almost no detail loss. At higher values, I find the picture too smooth on certain places. Lower values exhibit a lot more banding. For mid, the debanding is very effective on most videos. There is some detail loss but for Anime it's a perfect setting. There is less details generally in Anime than movies. For high, I aim a very effective debanding on bad sources. But I need more bad videos to test it. If anyone has links to that kind of videos, I'd appreciate it. I like the new nonGradientPenalty setting. It allows to maintains some details that are usually blurred by the gradient setting and maintaining good debanding at low values. But some people might desactive it for high because it maintains sometimes compression artifacts. I still find the LocalContrast quite useless. There is almost no difference with or without and when there is a difference, it's very minimal. |
14th October 2013, 17:51 | #20384 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Interesting, you guys are getting nearer to each other in your parameter choices. @6233638, what is your opinion about Werewolfy's current settings? They're relatively near to yours, but not totally identical. I would really like to get rid of localContrast, but I'm not sure if I can. I do wonder whether I should have 3 or 4 settings. It seems that Werewolfy prefers "avgDif 0.7" and 6233638 prefers "avgDif 0.8" for the "low" setting. Maybe a "very low" setting might make sense. I'm thinking that if we get native 4K content sooner or later with native 10bit decoding then maybe a "very low" setting might make sense to improve 10bit gradients slightly. For clean native 10bit sources "low" might be overkill. Of course we don't have clean native 10bit sources at the moment (do we?), so maybe it's hard to find good parameter values for that...
|
14th October 2013, 19:06 | #20385 | Link |
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
I agree on avgDif 0.7 on a low setting, but values >1.4-1.5 for maxDif and >1.3-1.4 for gradient seems to have quite a steep diminishing return on debanding. Atleast for a low setting.
/errata For some low resolution material it seems that maxDif would have to be atleast 1.8 to have sufficient effect. With nonGradientPenalty over 1.1 i can see some miniscule blocking and slight banding sometimes. 1.2 would be max. Atleast at a low setting. I would use 1.1 or disabled. Test scene 1: No debanding avgDif 0.7 maxDif 1.5 gradient 1.4 avgDif 0.7 maxDif 2.5 gradient 1.5 avgDif 0.7 maxDif 2.5 gradient 1.5 nonGradientPenalty 1.2 Test scene 2: No debanding avgDif 0.7 maxDif 1.5 gradient 1.4 avgDif 0.7 maxDif 2.5 gradient 1.5 avgDif 0.7 maxDif 2.5 gradient 1.5 nonGradientPenalty 1.2 Last edited by bacondither; 14th October 2013 at 20:28. |
14th October 2013, 20:55 | #20386 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
@bacondither,
I think the other guys have also started with relatively low "maxDif" values, but have increased them recently. Of course a lot depends on the source content you test with. With some material low values work ok, with other material higher values are needed. Basically the flatter a banded gradient in the image is, the lower "maxDif" can be. If there is a rather strong gradient in the image, "maxDif" needs to be bigger for debanding to work correctly. About "nonGradientPenalty": If you see too much blocking/banding with 1.2 or 1.3, then you can either turn "nonGradientPenalty" back to 1.1 or even 1.0. Or alternatively you could leave it at 1.2 or 1.3 and instead turn "gradient" further up, since "gradient" and "nonGradientPenalty" are related. Blocking/banding caused by "nonGradientPenalty" can be removed by increasing "gradient". The big question is which combination of "gradient" and "nonGradientPenalty" produces the better overall result (best debanding with the lowest detail loss). I'm not sure about that. |
14th October 2013, 22:11 | #20387 | Link | |
Registered User
Join Date: Feb 2013
Posts: 137
|
maxDif doesn't seem to harm the picture so I don't see why reducing it. Of course, maybe it harms the picture but not on the samples I have so feel free to test it on your samples and tell if it harms the pictures with the values I gave for example.
nonGradientPenalty seems to help at low values, I'd have not so high values for Gradient otherwise. The only side effect is that the compression artifacts are not so well hidden when it's activated so maybe it's not suited for the high setting. Quote:
|
|
14th October 2013, 23:57 | #20388 | Link |
Registered User
Join Date: Dec 2012
Posts: 17
|
I compared Werewolfy's and 6233638's low-debanding settings on high-quality videos to see if (low) debanding has a negative influence on picture-quality.
There was not much banding in my videos, so i couldn't see a difference between Werewolfy's and 6233638's low-debanding settings. In almost all examples the picture-quality was as good as without debanding, + noticeable debanding in some cases. But in really dark areas i noticed something i dont like. For me it looks like the "bright" areas stay bright and the dark areas become much brighter, so that the video seems partly brighter in some areas with active debanding. I expected that the "bright" areas would be a little bit darker, so that the average luminosity stay the same (visual). No debanding (part): http://s1.directupload.net/images/user/131015/6p8eeupz.png low-debanding (part): http://s1.directupload.net/images/user/131015/74cb7nwh.png I looked at the luminosity-histogram and the average luminosity is almost identical. But especially the lower part in the middle looks too bright for me with debanding. Full-size: No debanding: http://s1.directupload.net/images/user/131015/t6uej6ba.png Werewolfy low-debanding: http://s14.directupload.net/images/user/131015/v45eysk9.png 6233638 low-debanding: http://s14.directupload.net/images/user/131015/cc3qxczb.png Last edited by Skankee; 15th October 2013 at 00:03. |
15th October 2013, 04:47 | #20389 | Link | ||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
I must say, I'm finding it difficult to see anything but very subtle changes when adjusting nonGradientPenalty with the sources I've looked at, but 1.2 does seem to have some benefit at low settings. I'm not sure that I would want to use high levels of gradient and nonGradientPenalty together, because high levels of gradient seem to add a lot of dither/noise to the image. I really need to keep better track of my testing, because I'm not sure what video(s) it was that caused me to raise the low avgDif to 0.8 before So unless I can find another example of that, 0.7 seems acceptable. Using 0.7 as the avgDif, 2.4 seems like the logical choice for maxDif, and a gradient of 1.6 seemed to be as low as I could go with those before debanding effectiveness was reduced. I'm somewhat flexible on the nonGradientPenalty and localContrast settings, but 1.2/1.4 (possibly 1.5) seemed to have little impact on debanding effectiveness, while helping preserve some shadow detail. Code:
avgDif maxDif grad penalty contrast low: 0.7 2.4 1.6 1.2 1.4 maximum: 1.9 3.7 4.3 off off I'm still quite happy with the max settings I posted before, and haven't found a source where Werewolfy's stronger settings are required. I don't know that you would need separate presets which use localContrast, just have presets with localContrast values (and this would likely only be low/medium) and a "trade quality for performance" that disables the localContrast portion if required. Quote:
If we are going to use an avgDif of 0.7, I think maxDif should be 2.4. Going any higher does not result in much improvement for debanding, and going lower is much less effective. Can you please post video samples for these. I do not find your example images to have sufficient debanding, and would really like to experiment and see what settings would be effective with them. Can you post a video sample of this? It seems like a good test for medium settings. Last edited by 6233638; 15th October 2013 at 04:52. |
||
15th October 2013, 09:03 | #20390 | Link | |||
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
Quote:
Quote:
It seems that the detail reduction by using maxDif 2.4 over 1.5-1.6 is so miniscule it might be a good vaule for a low setting. Quote:
In a low setting it "should" try to hide the banding from "eeeew banding" to "this looks acceptable", or atleast that is what i think. The clips: Test scene 1 Test scene 2 Additional clips: Test scene 3 Test scene 4 Last edited by bacondither; 15th October 2013 at 09:11. |
|||
15th October 2013, 09:39 | #20391 | Link | ||
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Quote:
Quote:
Code:
avgDif maxDif grad penalty contrast low: 0.7 2.4 2.5 1.5 1.5 |
||
15th October 2013, 10:36 | #20392 | Link |
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
I think local contrast could be made optional or removed. Makes almost no difference at removing banding at the cost of ~20% longer rendering times.
nonGradientPenalty has seems to have very low impact on rendering times and does improve detail. This is my reevaluated settings for low. Code:
avgDif maxDif grad penalty localcontrast low: 0.7 2.4 1.5 1.2 off |
15th October 2013, 10:41 | #20393 | Link | ||||||||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
LOW SETTINGS FINDING:
Quote:
Quote:
Quote:
Quote:
Quote:
(1) How to set "gradient" and "nonGradientPenalty". Remember: A higher "nonGradientPenalty" requires a higher "gradient". gradient / nonGradientPenalty: Werewolfy: 1.5 / 1.2 bacondither: 1.5 / 1.2 6233638: 1.6 / 1.2 ryrynz: 2.5 / 1.5 ryrynz' suggestions are higher than the rest, but he has *both* values raised, so it makes sense, too. Can we somehow get an agreement on these values, too? (2) We also still need to decide on "localContrast". See next section. ------------------------ LOCAL CONTRAST: Quote:
Quote:
Quote:
Quote:
------------------------ RANDOM COMMENTS: Quote:
Quote:
Quote:
Quote:
Quote:
http://madshi.net/madVRdeband5.rar On a quick check it doesn't seem to make any difference in most situations, but maybe it helps in your specific case to avoid the brightening effect you mentioned? |
||||||||||||||
15th October 2013, 12:16 | #20395 | Link | |
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Quote:
localcontrast makes more of a difference than nonGradientPenalty, again I can happily back this up. |
|
15th October 2013, 12:53 | #20397 | Link | |
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
Quote:
Code:
Variable N Median gradient 4 1,550 nongradientpenalty 4 1,2000 |
|
15th October 2013, 13:23 | #20398 | Link |
Registered User
Join Date: Mar 2009
Posts: 3,650
|
It's going to be tough to push such an minor change in image quality with localContrast considering it's impact but the difference is in the softness of the image.
It find the differences easier to see when switching from no deband to LocalContrast and then to no LocalContrast, brightness and contrast has been increased to help highlight the differences. The fix you implemented Madshi diminished the difference somewhat, I've used screenshots from the video I linked you earlier. It's this slight softening of detail that would be removing the shadow detail that 6233638 talks about, it's really a case of how pedantic you/we want to be about this light detail. Since I'm examining things at the pixel level.. it's hard for it not to do unnoticed and I prefer it being there.. by default? maybe not. No deband My settings with LocalContrast=1.5 My settings with LocalContrast=disabled I'd rather compare and choose based on content, I'm striving for the absolute best deband quality for this because let's face it we don't have a lot of strength to work with and ideally I think we'd want low on by default. I'm relying on LocalContrast here to maximize the amount of detail we get out of low whilst still maintaining a reasonable blending. We've already tightened the two largest screws, so just about anything now is good enough really, but I've checked out Nongradientpenalty 1.2 and I'm happy with that so I'm in with everyone else. I still think the gradient needs to be higher than 1.5-1.6, I've settled at 2.0 for this ATM. LocalContrast at 1.5 is almost identical to 1.4 but 1.5 from what I see has the every so slight edge, 6233638 could you also confirm this for LocalContrast? Last edited by ryrynz; 15th October 2013 at 14:18. |
15th October 2013, 15:08 | #20399 | Link |
Registered User
Join Date: Feb 2013
Posts: 137
|
I don't really see any difference between Local Contrast on/off in your screenshots. But if you and 6233638 see a difference, there is cetainly one. But it's very minor then and there is a cost so I wouldn't like to have this option by defaut but maybe a "trade quality for performance" option would be a good idea.
I compared 1.5/1.2 vs 1.6/1.2 vs 2.5/1.5 for gradients and nonPenaltyGradient. It's almost the same results. 1.6/1.2 smooths a little bit more some details. 1.5/1.2 and 2.5/1.5 are pretty much the same, I can't figure out which one is the best between those two settings. I did find a video when there is some benefits especially when maxDif is higher than 3.7 but we'll discuss about that later. |
15th October 2013, 18:21 | #20400 | Link | ||
Registered User
Join Date: Dec 2012
Posts: 17
|
Quote:
http://www.sendspace.com/file/vxt36d Quote:
But i found out that i also get these brighter areas when i use dithering (it is disabled on my previous screenshots because of better blacks and a reduced filesize). So maybe my problem is related to dither and not to debanding. With dithering (and disabled debanding) there is noticeable less banding in my video-sample, so maybe it is not so good for medium dithering-tests anymore, i don't know. But there are still 2 questions left: -can i disable dithering when i use low debanding (because both do some debanding), -are my "dark areas" in my test-images a bug because of missing dithering or is dithering doing something "strange" and create too bright areas? |
||
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|