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. |
3rd May 2020, 16:36 | #21 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Code:
ColorBars converttoyv12 AddGrainC Interleave(neo_vd.luma_histogram(),convertbits(16).neo_vd().convertbits(8).luma_histogram())
__________________
See My Avisynth Stuff |
3rd May 2020, 19:18 | #22 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Removing float to int rounding solved the problem. But to be honest I'm not quite sure we should remove the rounding.
The following code Code:
ptr[x] = std::min(std::max(static_cast<int>(pad[x] + 0.5f), 0), ep.peak); If I remove +0.5 then the results are identical, but the truncated result may not be as accurate as rounded. What do you think? |
4th May 2020, 02:08 | #23 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
and why it add 0.5f? and since I am not a programmer, let's see what others say like pinterf
__________________
See My Avisynth Stuff |
|
4th May 2020, 09:38 | #24 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
For most cases float intermediate value is always rounded before casting (=truncating) to an integer. Adding a 0.5 plus a truncate to integer is like rounding to the nearest integer.
If the missing rounding is probably a bug and incorrect then we shouln't keep any plugin with the old (wrong) behaviour. |
30th May 2021, 16:59 | #25 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
real.finder updated new commits to fix Update AVS headers and copy frame properties for AVS+ and VS. If anyone interested
https://github.com/HomeOfAviSynthPlu...9311366112ed64 |
13th February 2022, 11:15 | #26 | Link |
Registered User
Join Date: Jul 2013
Posts: 38
|
I don't want to remove all noise from the video source, I just want to clean the video a bit for better compressibility. I refuse temporal denoisers because of the annoying scene change issue - during scene changes some frames are noisier than others due to temporal processing. After many testings I finally found this fantastic spatial denoiser which gave me the best results. With threshold=3.5 I succesfully cleaned a very noisy video - compressibility is much better now. Thank you for this useful denoiser!
|
24th February 2022, 01:31 | #29 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
You can create issue here
https://github.com/HomeOfAviSynthPlu...iniDeen/issues |
Thread Tools | Search this Thread |
Display Modes | |
|
|