Re: [GM-apis] Re: Image statistics
Bob Friesenhahn <[email protected]> Tue, 23 Mar 2004 09:52:46 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.tools,gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <Pine.GSO.4.44.0403230944420.11186-100000@scooby.simplesystems.org> |
On Tue, 23 Mar 2004, Glenn Randers-Pehrson wrote: > >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. Development ImageMagick includes an API for computing PSNR and several other image comparison algorithms. Naturally this was not noted in the ImageMagick ChangeLog or NEWS files. You may have missed it. The API is exposed via ImageMagick's new 'compare' utility. I will look at the new interfaces that ImageMagick defines for comparing images and re-use them for GraphicsMagick if they make sense. Bob ====================================== Bob Friesenhahn [email protected] http://www.simplesystems.org/users/bfriesen ------------------------------------------------------- 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