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. |
20th October 2024, 10:38 | #3021 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
Someone knows how to extract the noise frequencies from an image and selectively remove them?
I think it would be really useful and fast with postproduction digital noise, if simple enough.
__________________
@turment on Telegram |
20th October 2024, 23:14 | #3022 | Link |
Registered User
Join Date: Jul 2018
Posts: 1,209
|
There were some FFTW-based plugins like DeFreq (?). But it works about good only if you distortion is narrow bandwidth enough (like colour subcarrier). Natural noise is much more complex mixed with useful data and can not be as simply separated. When you run SMDegrain and it blends different frames blocks - it may be equal to special temporal-convolution frequency filter to pass only narrow frequencies and suppress out of band noise. May be same or close idea is implemented in FFT3D plugin via FFT.
|
21st October 2024, 10:55 | #3023 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
Quote:
That anime was 3D rendered and digital noise added later, to simulate film effect. The bandwidth, as far as my eyes can see, is really limited and mostly visible in darker area, even if light ones are mildly affected too.
__________________
@turment on Telegram |
|
21st October 2024, 13:30 | #3024 | Link |
Registered User
Join Date: Jul 2018
Posts: 1,209
|
Typical examples for narrow band distortions are Aerial interference with analog broadcast or some analog interference at ADC board/device to convert analog to digital. If random special noise is added - it most probable have too wide (flat) spectrum and can not be easily filtered out with narrow band-stop filters.
|
24th October 2024, 16:33 | #3025 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
Quote:
Do you know of some model that can keep 1x scale and deblur/antialiasing, to have some anime restoration instead of scaling?
__________________
@turment on Telegram Last edited by tormento; 24th October 2024 at 17:55. |
|
29th October 2024, 12:23 | #3026 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
Tried to use Oyster_super.
I have to Crop(128,128,-128,-128) and resize because the image become enlarged and corrupted along the sides and doubles. Plus, the comment says ## Input: 444 YUV/RGB at any bitdepth (output is float) but it needs to be 32 bits. Anyone else?
__________________
@turment on Telegram |
21st November 2024, 16:05 | #3029 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
The call from xClean:
ConvertFormat(cconv, fmt_out="444", kernel_c=chroma, tv_in=!fulls, cplace_in=cplace) causes Script error: NNEDI3RESIZE does not have a named argument "src_width" (D:/Programmi/Media/AviSynth+/plugins64/TransformsPackMain-2.2.1~Dogway.avsi, line 969) (D:/Programmi/Media/AviSynth+/plugins64/TransformsPackMain-2.2.1~Dogway.avsi, line 971) (D:/Programmi/Media/AviSynth+/plugins64/TransformsPackMain-2.2.1~Dogway.avsi, line 972) (D:/Programmi/Media/AviSynth+/plugins64/TransformsPackMain-2.2.1~Dogway.avsi, line 973) (D:/Programmi/Media/AviSynth+/plugins64/TransformsPackMain-2.2.1~Dogway.avsi, line 973) (D:/Programmi/Media/AviSynth+/plugins64/TransformsPackMain-2.2.1~Dogway.avsi, line 1323) (D:/Programmi/Media/AviSynth+/plugins64/xClean-beta10~mysteryx93.avsi, line 232) and I can't sort out the bug in the TransformsPackMain-2.2.1. Any idea?
__________________
@turment on Telegram |
3rd December 2024, 22:59 | #3030 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
It happens that anime are getting more and more "clean" in the general appearance but if you zoom in the dark areas you can see lot of "pixel fluctuations", perhaps coming from a poor AVC compression strategy, even from BDs. Sometimes it appears on light areas too but it's more rare.
Wanting to cleanup those lurking pixels without ruining the overall quality what do you suggest me? I have tried with high tr and thsad numbers but all I obtain is to ruin the details without cleaning up the dark areas. Someone tried it before?
__________________
@turment on Telegram Last edited by tormento; 3rd December 2024 at 23:03. |
4th December 2024, 00:02 | #3031 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,548
|
Quote:
Filter the dark areas with stronger filtering than the brighter areas (or no filtering for the bright) You can use the LumaMask in the MasksPack |
|
4th December 2024, 00:16 | #3032 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
Quote:
Thank you, nice idea. And what about “subtle pixel noise” in light areas? It’s way less noticeable but still there. The problem is that from film grain noise, digital workflow switches that easily fixable rumor to tiny pixel fluctuations than you can really notice on larger screens.
__________________
@turment on Telegram |
|
4th December 2024, 17:33 | #3033 | Link | ||
Registered User
Join Date: Sep 2007
Posts: 5,548
|
Not really my idea - people have been doing this for >30 years, pre-avisynth with denoising images. You can find video mask scripts 20 years ago
Quote:
Quote:
|
||
4th December 2024, 17:55 | #3035 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,548
|
Yes, or not - it depends on the settings
Often the "grain" does not end up look like real film grain, but digital noise - not enough iterations and convergence during render Quote:
But for film, the CG elements have grain emulation to blend into the film as stated above |
|
4th December 2024, 19:32 | #3036 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,823
|
Quote:
The problem is that people are so used to grain that they artificially added it with no apparent reason. Thus, denoising that digital "pixel fluctuation" makes faint details from CGI to disappear. I uploaded a small clip from that anime, if you are curious to look at what I mean.
__________________
@turment on Telegram |
|
Tags |
avisynth, dogway, filters, hbd, packs |
Thread Tools | Search this Thread |
Display Modes | |
|
|