Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ImageTools[Quality] - compute the quality measure of a reconstructed image
Calling Sequence
Quality( img_r, img_s, meas, opts )
Parameters
img_r
-
Image; reconstructed image
img_s
Image; source image
meas
(optional) name; quality measure
opts
(optional) equation(s) of the form option = value; specify options for the Quality command
Description
The Quality command computes the quality measure of a reconstructed image with respect to a source image.
The img_r and img_s parameters are the reconstructed and the source images, respectively. They must be grayscale images and have the same width, height, and order (C_order or Fortran_order).
Quality Measures
The optional meas parameter is a name specifying the quality measure. It can take one of the following values, the default is mse:
mse: mean-squared error. , where are the reconstructed and source images, range over all pixels, and are the width and height.
rmse: root-mean-squared error (rms). .
snr: signal-to-noise ratio. .
psnr: peak signal-to-noise ratio. .
Options
peak = realcons
Specifies the peak value to use for the peak signal-to-noise ratio (psnr) calculation. It is ignored for the other cases. The default is 1.
Examples
See Also
ImageTools
Download Help Document