*offizielles deutsches flaskmpeg & dvdtoogm board* (http://www.flaskmpeg.info/index.php)
- *codecs* (http://www.flaskmpeg.info/board.php?boardid=9)
-- x264 Noise Reduction - Test 1 (http://www.flaskmpeg.info/thread.php?threadid=5656)


Geschrieben von Selur am 15.01.2006 um 21:59:

  x264 Noise Reduction - Test 1

Damit auch jeder drann kommt hab ich dies hier als Quelle (57,5 MB) genommen.
(u.a. auch weil es progressiv war)

Das mpg file hab ich dann durch DGIndex und folgendes Avisynthscript gejagt:
code:
1:
2:
3:
4:
5:
6:
LoadPlugin("L:\Programme\DGIndex\DGDecode.dll")
LoadPlugin("L:\Programme\AviSynth\plugins\ColorMatrix.dll")
mpeg2source("D:\Noise_720p.d2v")
ColorMatrix()
crop(0,0,1278,716)
LanczosResize(1248,704)



Zum Encoden habe ich dann folgende Settings verwendet:

1. Noise Reduction deaktiviert:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --output "D:\Noise_0.mp4" "D:\Test.avs"


2. Noise Reduction auf 10:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 10 --output "D:\Noise_10.mp4" "D:\Test.avs"


3. Noise Reduction auf 30:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 30 --output "D:\Noise_30.mp4" "D:\Test.avs"


4. Noise Reduction auf 50:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 50 --output "D:\Noise_50.mp4" "D:\Test.avs"


5. Noise Reduction auf 100:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 100 --output "D:\Noise_100.mp4" "D:\Test.avs"


6. Noise Reduction auf 200:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 200 --output "D:\Noise_200.mp4" "D:\Test.avs"


7. Noise Reduction auf 400:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 400 --output "D:\Noise_400.mp4" "D:\Test.avs"


8. Noise Reduction auf 600:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 600 --output "D:\Noise_600.mp4" "D:\Test.avs"


9. Noise Reduction auf 800:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 600 --output "D:\Noise_800.mp4" "D:\Test.avs"


10. Noise Reduction auf 1000:
code:
1:
x264.exe --qp 26 --ref 6 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all  --8x8dct --me umh --sar 1:1 --progress --no-psnr --nr 600 --output "D:\Noise_1000.mp4" "D:\Test.avs"



Nach dem Encoden haben sich folgende Dateigrößen ergeben:
Noise_0 (4.502.586 Bytes)=100%
Noise_10 (4.485.203 Bytes)=0,996%
Noise_30 (4.459.592 Bytes)=0,990%
Noise_50 (4.439.805 Bytes)=0,986%
Noise_100 (4.399.845 Bytes)=0,977%
Noise_200 (4.388.296 Bytes)=0,975%
Noise_400 (4.300.248 Bytes)=0,955%
Noise_600 (4.242.649 Bytes)=0,942%
Noise_800 (4.200.464 Bytes)=0,933%
Noise_1000 (4.165.245 Bytes)=0,925%

Die Dateien hab ich mal bei Rapidshare hochgeladen, ihr könnt sie dann hier (41,5 MB) runterladen.


Da Glätten immer so ne Sache ist würde ich mich über Feedback freuen. Was würdet ihr sagen?
Welche Filterung ist noch okay, welche ist schon zuviel?

Falls wer Zeit und Muße hat könnte er ja auch SSIM&Co-Werte ermitteln. smile

Cu Selur

Ps.: Falls wer noch ein paar andere (kurze) Quellen kennt die man hier als sinnige Testsample benutzen könnte wären das auch eine nette Information.



Geschrieben von akapuma am 15.01.2006 um 22:56:

 

Hallo,

wie arbeitet die noise reduction? Fest oder adaptiv? Temporal oder spatial? Was ändert der -nr-Wert, "Stärke" oder Einsatzpunkt der Rauschfilterung? Kann sie andere avisynth-Filter, z.b. fluxsmooth ersetzen, oder soll sie sie ergänzen?

Fragen über Fragen.

Gruß

akapuma



Geschrieben von Selur am 15.01.2006 um 23:17:

 

Bis dato sind dies die Infos:
Zitat:
1) Estimate the noise-to-signal ratio of each frequency band: We assume a constant amount of noise (specified by --nr), and thus the ratio is just inversely proportional to the amount of signal (= average coefficient magnitude).
2) Filter: Before quantization, bias each coef of the residual towards 0, with strength determined above.

Try --nr values on the order of 100-1000.
It may or may not match the quality of a good avisynth-based denoiser, but is much faster.

Quelle: http://forum.doom9.org/showthread.php?p=765860#post765860

=> man legt ne Art Stärke fest, wobei das ganze an gute Avisynthfilter nicht drann kommt aber flott ist.

genauers gibt's wohl bei:
http://ieeexplore.ieee.org/search/wrapper.jsp?arnumber=1530445
wobei die Info nur für IEEE Members zugänglich ist.

Denke da müssen noch einige Tests gemacht werden ehe man da Empfehlungen aussprechen kann.

Cu Selur



Geschrieben von Videostation am 16.01.2006 um 12:08:

 

Zitat:
wobei die Info nur für IEEE Members zugänglich ist.

Sicher? Also ich kann es mir anschauen.

CU Videostation



Geschrieben von Selur am 16.01.2006 um 12:31:

 

Höh? Du kannst auf das pdf zugreifen? Wie?

Cu Selur



Geschrieben von Videostation am 16.01.2006 um 15:41:

 

Ja, allerdings nicht von zu Hause, wie ich gerade gemerkt habe. Heute früh hab ich es mir aus dem Rechner-Pool der Uni angeschaut. Da kommt nix mit Login. Augenzwinkern

CU Videostation



Geschrieben von Selur am 16.01.2006 um 15:56:

 

Hmm,... scheint so als ob die Forschungsnetzrechner da wohl drann können => kannste mri das mal schicken smile ?

Cu Selur

Ps.: guck sonst am Freitag mal bei mir an der Uni smile


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH