Re: Re: [GM-tools] Image statistics

Glenn Randers-Pehrson <[email protected]> Tue, 23 Mar 2004 10:35:35 -0500
Newsgroups gmane.comp.video.graphicsmagick.apis,gmane.comp.video.graphicsmagick.tools
Message-ID <[email protected]>
At 09:15 AM 3/23/04 -0600, Bob Friesenhahn wrote:
>On Tue, 23 Mar 2004, Glenn Randers-Pehrson wrote:
>
>> At 11:11 PM 3/22/04 -0600, Bob Friesenhahn wrote:
>> >If there
>> >is demand for it, both normalized and unnormalized values can be
>> >displayed.
>>
>> How 'bout if I demand the PSNR?
>
>Demand away. :-)
>
>I believe that PSNR is useful for comparing a reference image to a
>modified image.

Right.

The tool would have to have a different user interface such as

    -psnr ref.png -verbose image.png

or (my preference)

    -define psnr reference=ref.png -verbose image.png

where "-psnr image" or "-define psnr reference=image" means to compute
the PSNR using the specified reference image and make the result available
for display via -verbose or similar.  How to make this accessible via
the APIs is left as an exercise for the API gurus.

Glenn


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click