RMS_ERROR_CVIP
rms_error_cvip_cvip() - computes Root Mean Square error between two images.
Contents
SYNTAX
err = rms_error_cvip(inimage1,inimage2)
Input parameters include :
- inimage1 - image of M*N size.
- inimage2 - image of M*N size.
Output parameter include:
- err - root mean square error between two images.
DESCRIPTION
This function calculates the Root Mean Square error between the two images given as inputs by the user. The Root Mean Square error is used as an objective measure to assess the amount of similarity between two images. inimage1 and inimage2 both has to be of same size and of same band in order to compute rms error. If both inimage1 and inimage2 are same, then rms error will be zero.
REFERENCE
1.Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% Read images inimage1 = imread('Butterfly.tif'); inimage2 = imread('castle.bmp'); % Calling function err = rms_error_cvip(inimage1,inimage2)
err = 88.7372 83.9432 84.0604
CREDITS
Author: Lakshmi Gorantla, June 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website