iter_entropy

PURPOSE ^

It iterates the algorithm for some entropy values. It fits the

SYNOPSIS ^

function [Results] = iter_entropy(Im,algoritmo,entropias,parametro,directorio)

DESCRIPTION ^

 It iterates the algorithm for some entropy values. It fits the
 epsilon and the number of bits, to reach such distortion value.
 It computes the distortions and gives an struct for each entropy value.

 Im         -> Original Image
 algoritmo  -> Algorithm.
               1  -> CTE + SVR
               2  -> RKi + SVR
               3  -> CSF + SVR
               4  -> NL1 + SVR
               5  -> NL2 + SVR
               6  -> JPEG91
               7  -> Malo99
               8  -> Epifanio03
               9  -> Malo06_1
               10 -> Malo06_2
 entropias -> Vector with the entropy values.
 parametro  -> Starting epsilon (for SVR) or starting uCP
 directorio -> String with the path to the folder to save BIN and ZIP files.

 USE: [Results] = iter_entropy(Im,algoritmo,entropias,parametro,directorio)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 % It iterates the algorithm for some entropy values. It fits the
0003 % epsilon and the number of bits, to reach such distortion value.
0004 % It computes the distortions and gives an struct for each entropy value.
0005 %
0006 % Im         -> Original Image
0007 % algoritmo  -> Algorithm.
0008 %               1  -> CTE + SVR
0009 %               2  -> RKi + SVR
0010 %               3  -> CSF + SVR
0011 %               4  -> NL1 + SVR
0012 %               5  -> NL2 + SVR
0013 %               6  -> JPEG91
0014 %               7  -> Malo99
0015 %               8  -> Epifanio03
0016 %               9  -> Malo06_1
0017 %               10 -> Malo06_2
0018 % entropias -> Vector with the entropy values.
0019 % parametro  -> Starting epsilon (for SVR) or starting uCP
0020 % directorio -> String with the path to the folder to save BIN and ZIP files.
0021 %
0022 % USE: [Results] = iter_entropy(Im,algoritmo,entropias,parametro,directorio)
0023 function [Results] = iter_entropy(Im,algoritmo,entropias,parametro,directorio)
0024 [perfil,K,exponente] = computing_parameters_entropy(algoritmo);
0025 if(algoritmo <= 5)
0026     Results = entropy_svr(algoritmo,entropias,Im,parametro,perfil,K,exponente,directorio);
0027 else
0028     Results = entropy_ucp(algoritmo,entropias,Im,parametro,exponente,directorio);
0029 end

Generated on Fri 07-Mar-2014 13:29:20 by m2html © 2005