Home > Source > Model > measure_wavelet.m

measure_wavelet

PURPOSE ^

==============================================================

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

Generated on Thu 13-May-2004 18:00:46 by m2html © 2003