PRATT_MERIT_CVIP

pratt_merit_cvip() - calculates figure of merit.

Contents

SYNTAX

[ FOM ] = pratt_merit_cvip( Ideal_img, I2, scale_factor )

Input parameters include :

Output parameter include :

DESCRIPTION

This function calculates the Pratt figure of Merit of an image. The function compares the input image I2 to an ideal image and calculates the FOM based on a distance measure between the images. Pratt's Figure of Merit is used to asses the performance of the different types of edge detectors. It correlates with the three important edge detection criteria: Detection, Localization, and Single Response.

REFERENCE

1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.

EXAMPLE

% Read images

 input_img = imread('Shapes.bmp');

% Obtain edges using 2 different method, here Frei-Chen and Roberts

 [ Frei, ~ ] = frei_chen_ed_cvip( input_img, 1 );

 Type = 2;

 Roberts = roberts_ed_cvip(input_img, Type);

% threshold the edge maps

  Roberts = Roberts>0;

  Frei = Frei > 0;

  scale_factor = 1/9;

% Calling function

  [ FOM ] = pratt_merit_cvip( Roberts, Frei, scale_factor )
FOM =

    0.9406

CREDITS

Author: Mehrdad Alvandipour,June 2017
Copyright © 2017-2018 Scott E Umbaugh
For updates visit CVIP Toolbox Website