respue_lin

PURPOSE ^

RESPUE_LIN calculates the linear response to local DCT2D (expressed in contrast)

SYNOPSIS ^

function [R,alfa]=respue_lin(dctinic,k,canal)

DESCRIPTION ^

 RESPUE_LIN calculates the linear response to local DCT2D (expressed in contrast)
 of the YUV (or ATD) simulating the linear channel detector response SVH frequency.

   DCTn(f) = k1(f) DCT(f)

 where k1 is the CSF.

 Outputs:

  Resp = response
  kk1 = parameter k1 in matrix shape

 USE:

 [Resp,kk1] = respue_lin(dctinic,k1,canal)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % RESPUE_LIN calculates the linear response to local DCT2D (expressed in contrast)
0002 % of the YUV (or ATD) simulating the linear channel detector response SVH frequency.
0003 %
0004 %   DCTn(f) = k1(f) DCT(f)
0005 %
0006 % where k1 is the CSF.
0007 %
0008 % Outputs:
0009 %
0010 %  Resp = response
0011 %  kk1 = parameter k1 in matrix shape
0012 %
0013 % USE:
0014 %
0015 % [Resp,kk1] = respue_lin(dctinic,k1,canal)
0016 %
0017 
0018 function [R,alfa]=respue_lin(dctinic,k,canal)
0019 
0020 tam=size(dctinic);
0021 tam=tam(1);
0022 lados=[tam tam];
0023 
0024 lcuan=lados(1);
0025 
0026 k1=k(canal,:);
0027 
0028 k1=simrev(k1);
0029 k1=zigzag(k1);
0030 
0031 alfa=k1;
0032 
0033 cub=dctinic;
0034 
0035 cub=zigzag(cub);
0036 
0037 cub=abs(cub);
0038 
0039 R=k1.*cub;
0040 R=dezigzag(R);

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