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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
NHW - a free image codec
Hello,
Just a very quick message to let know those who followed NHW, that the last version (v0.3.1+41) has now a good precision, in the sense that NHW image correctly resembles to the original image (for the developed -q9 to -q23 quality settings), while always keeping NHW efficient neatness. So yes now it could be worth to adapt NHW to any image resolution. For me the best solution would be to process on the whole image dimensions, but it's really the bigger and harder to code. Another approach is the one of Martin, a great programmer and friend of mine, he has adapted NHW to 8x8, 16x16, 32x32, 64x64, 128x128, 256x256, 512x512 square sizes and he has then coded a very first (unoptimized) version of NHW that works with any image resolution by decomposing the image with these square sizes (prioritizing the largest square size first). The problem with this latter solution are the blocking artifacts (with a wavelet codec) but I have been told that deblocking filters could be quite efficient.... For now with my health, I will quietly continue to improve NHW precision, but maybe in the second half of 2026 if I am better, I will think about these solutions to adapt NHW to any image resolution, if I am alone, I think I will clearly choose Martin's solution because it is by far the fastest to deploy... Cheers, Raphael |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Hello,
Just a very quick update, as I think I'll release v0.3.2 in February, I wanted to make then a complete neatness study with objective nhw_neatness_metrics, but the new v0.3.1+42 version has (quite) worse neatness scores than v0.3.1+41, as reported by nhw_neatness_metrics, but I find that v0.3.1+42 has a better visual quality than v0.3.1+41, notably a better precision, it resembles more to the original image, so I didn't find for now a perceptual quality metrics that reflects visual quality according to my criterias and eyes... Cheers, Raphael |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Hello,
I am still thinking about Martin's (square) tiling solution for coding NHW to any image resolution, there are also some strong advantages, it is notably very more multithreading-friendly, SIMD-friendly, cache-friendly... but a very important thing is to know if we can design an efficient deblocking filter for my wavelet blocking artifacts, as I have hardly no knowledge in deblocking filters technology, it seems a very big investment and energy for me now... Else I am ultra slowly working on NHW currently, but I hope that the next incremental improvement of v0.3.1+42 will lead to v0.3.2 version, hopefully with a real competitive precision with AOM and MPEG codecs, while still keeping NHW neatness which is a strong advantage for me... Cheers, Raphael |
|
|
|
|
|
#4 | Link | |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Quote:
Just a very very quick update, I have released v0.3.1+43 version, at very first sight, I am satisfied with precision, so normally I'll see if I make other precision improvements but I think I'll transform this version into v0.3.2 later this month. Cheers, Raphael |
|
|
|
|
|
|
#5 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Hello,
Very quickly, I have released v0.3.1+44 which is better, I am waiting for releasing official v0.3.2, but I am sorry and I will get some anger, but I think I won't accompany v0.3.2 with a neatness study, as my nhw_neatness_metrics doesn't reflect for me image quality and what I call "neatness".For example, you can have a degraded image and sharpen it, my nhw_neatness_metrics will have very good score whereas the image looks horrible... Cheers, Raphael |
|
|
|
|
|
#7 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Hello rwill,
As I don't know VMAF, thank you for your professional feedback and information.I know that VMAF is largely acclaimed in the video compression community, especially at AOM, but as you point it has its imperfections... Measuring what I call the "neatness" of an image seems very difficult... Is it then offensing to say that VMAF is the less bad of the perceptual metrics? Cheers, Raphael |
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 544
|
If you are using metrics like VMAF just for your own stuff its probably ok.
The ability to cheat in a metric becomes problematic if different actors start to compete on the basis of the metric. Then such a metric cannot be trusted. Thats why PSNR is so robust, you cannot cheat that one.
__________________
My github... |
|
|
|
|
|
#9 | Link | |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Quote:
|
|
|
|
|
|
|
#10 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Hello,
Just a quick update, I think we can add a 10th element in the weight sequence to improve NHW precision and image quality, but currently I am too tired and it's too boring to test all the possible weights combinations (and there are millions of combinations), and I don't have the formula to derive the best weight sequence, so I must test currently each sequence combination with my eyes on different images... However, v0.3.1+44 has for me an OK precision, and a better neatness than MPEG and AOM codecs, so I think, if I don't resume work on NHW in the meantime, I'll silently transform v0.3.1+44 into official v0.3.2 version next week, neatness will be still the strong point of NHW... Cheers, Raphael |
|
|
|
|
|
#13 | Link |
|
Registered User
Join Date: Apr 2017
Posts: 60
|
Hello,
Just very quickly, I'll finally wait before releasing v0.3.2 to determine if I can level up the weight sequence to the 12th order, for a better image precision.I think and hope that the next iteration of the weight sequence order could have a competitive precision with AOM and MPEG codecs (however I can not test AV2- and ECM- intra). Cheers, Raphael |
|
|
|
![]() |
| Tags |
| codec, compression, image, nhw, wavelet |
| Thread Tools | |
| Display Modes | |
|
|