Wavelet Toolbox    
wthrmngr

Threshold settings manager.

Syntax

Description

THR = wthrmngr(OPTION,METHOD,VARARGIN) returns a global threshold or level dependent thresholds depending on OPTION. The inputs, VARARGIN, depend on the OPTION and METHOD values.

This M-file returns the thresholds used throughout the MATLAB Wavelet Toolbox for de-noising and compression tools (command line M-files or GUI tools).

Valid options for the METHOD parameter are listed in the table below.

METHOD
Description
'scarcehi'
See wdcbm or wdcbm2 when used with 'high' predefined value of parameter M.
'scarceme'
See wdcbm or wdcbm2 when used with 'medium' predefined value of parameter M.
'scarcelo'
See wdcbm or wdcbm2 when used with 'low' predefined value of parameter M.
'sqtwolog'
See 'sqtwolog' option in thselect, and see also wden.
'sqtwologuwn'
See 'sqtwolog' option in thselect, and see also wden when used with 'sln' option.
'sqtwologswn'
See 'sqtwolog' option in thselect, and see also wden when used with 'mln' option.
'rigsure'
See 'rigsure' option in thselect, and see also wden.
'heursure'
See 'heursure' option in thselect, and see also wden.
'minimaxi'
See 'minimaxi' option in thselect, and see also wden.
'penalhi'
See wbmpen or wpbmpen when used with 'high' value of parameter ALPHA.
'penalme'
See wbmpen or wpbmpen when used with 'medium' value of parameter ALPHA.
'penallo'
See wbmpen or wpbmpen when used with 'low' value of parameter ALPHA.
'rem_n0'
This option returns a threshold close to 0. A typical THR value is median(abs(coefficients)).
'bal_sn'
This option returns a threshold such that the percentages of retained energy and number of zeros are the same.
'sqrtbal_sn'
This option returns a threshold equal to the square root of the value such that the percentages of retained energy and number of zeros are the same.


 wthresh Discrete Wavelet 1-D options.