[FFmpeg-trac] #10924(avfilter:new): Clean-up "ssim", "psnr" filter output

FFmpeg trac at avcodec.org
Mon Mar 25 08:43:55 EET 2024


#10924: Clean-up "ssim", "psnr" filter output
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:  (none)
  MasterQuestionable                 |
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  ssim psnr    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by MasterQuestionable):

 ͏    "With dummy input alpha (as in WebP), would it make sense to
 unconditionally ignore this channel?"
 <!^>͏    Gather some out-of-the-class entities and count the average
 stats: would the outcome really make sense?
 ͏    Such would only generate unfaithfully biased results...

 ͏    For most cases:
 ͏    |1| If both input sharing identical Alpha ("A:1 (inf)"): ignore
 unless "+alpha" specified.
 ͏    |2| Else the Alpha should be counted (as it's significant): unless
 "-alpha" specified.

 [ "+alpha"
 ͏    New filter option (parameter) for both "ssim" "psnr":
 ͏    Which forces the inclusion of Alpha during calculation.
 ͏    "-alpha", it's counterpart: forces the exclusion. ]

 ͏    Maybe the idea may be similarly expanded to each component..?
 (/[[https://regex101.com/?regex=%5B%2B%5C-%5D%5Brgbyuva%5D&flags=i|[+\-][rgbyuva]]]/i)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10924#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list