Home > Source > Model > measure_wavelet.m

measure_wavelet

PURPOSE ^

MEASURE_WAVELET: evaluate the "goodness" of the wavelet created.

SYNOPSIS ^

function score = measure_wavelet(input_wavelet, wavelet_evaluation_method, warped_image)

DESCRIPTION ^

 MEASURE_WAVELET: evaluate the "goodness" of the wavelet created.

    GENERAL

      score = measure_wavelet(input_wavelet, wavelet_evaluation_method, warped_image)

    INPUT/S

      -input_wavelet:
           The wavelet parameters

      -wavelet_evaluation_method:
           The way to evaluate the data

      -warped_image
           The image currently being warped (for wavelet this argument is
           currently unused.

    OUTPUT/S

      -score:
           The score assigned to wavelet compressed data tree

    PENDING WORK

      -The current evaluation might be too simple

    KNOWN BUG/S

      -February: results returned aspire to make shapes shrivel

    COMMENT/S


    RELATED FUNCTION/S

      

    ABOUT

      -Created:     February 13th, 2004
      -Last update: February 2004
      -Revision:    0.0.1
      -Author:      R. S. Schestowitz, University of Manchester
 ==============================================================

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function score = measure_wavelet(input_wavelet, wavelet_evaluation_method, warped_image)
0002 % MEASURE_WAVELET: evaluate the "goodness" of the wavelet created.
0003 %
0004 %    GENERAL
0005 %
0006 %      score = measure_wavelet(input_wavelet, wavelet_evaluation_method, warped_image)
0007 %
0008 %    INPUT/S
0009 %
0010 %      -input_wavelet:
0011 %           The wavelet parameters
0012 %
0013 %      -wavelet_evaluation_method:
0014 %           The way to evaluate the data
0015 %
0016 %      -warped_image
0017 %           The image currently being warped (for wavelet this argument is
0018 %           currently unused.
0019 %
0020 %    OUTPUT/S
0021 %
0022 %      -score:
0023 %           The score assigned to wavelet compressed data tree
0024 %
0025 %    PENDING WORK
0026 %
0027 %      -The current evaluation might be too simple
0028 %
0029 %    KNOWN BUG/S
0030 %
0031 %      -February: results returned aspire to make shapes shrivel
0032 %
0033 %    COMMENT/S
0034 %
0035 %
0036 %    RELATED FUNCTION/S
0037 %
0038 %
0039 %
0040 %    ABOUT
0041 %
0042 %      -Created:     February 13th, 2004
0043 %      -Last update: February 2004
0044 %      -Revision:    0.0.1
0045 %      -Author:      R. S. Schestowitz, University of Manchester
0046 % ==============================================================
0047 
0048 if (strcmp(wavelet_evaluation_method, 'Default')),
0049    score = sum(abs(input_wavelet));
0050 else
0051      error('The Wavelet evaluation method is unknown')
0052 end

Generated on Fri 14-May-2004 10:05:30 by m2html © 2003