summaryrefslogtreecommitdiffstats
path: root/baseline/source/rijndael_enc
ModeNameSize
-rw-r--r--ChangeLog.txt3245logstatsplainblame
-rw-r--r--aes.c25877logstatsplainblame
-rw-r--r--aes.h6725logstatsplainblame
-rw-r--r--aestab.h12210logstatsplainblame
-rw-r--r--input_small.c131410logstatsplainblame
-rw-r--r--rijndael_enc.c7297logstatsplainblame
-rw-r--r--rijndael_enc_libc.c2042logstatsplainblame
-rw-r--r--rijndael_enc_libc.h968logstatsplainblame
= edge phase at each pixel * [pi,pj] = index pair representation for MALTAB sparse matrices, pi index in original grid, size(pj)=nrW*ncW+1 * subgrid= index of the subgrid in the original image (first pixel's index is one!) * [nrSubgrid,ncSubgrid]= number of rows et colums of the subgrid * subpi = pi but with index in subgrid * sigma = sigma for IC energy * Output: * w = affinity with IC at [pi,pj] * % test sequence f = synimg(10); [i,j] = cimgnbmap(size(f),2); [ex,ey,egx,egy] = quadedgep(f); a = affinityic(ex,ey,egx,egy,i,j) show_dist_w(f,a); * Stella X. Yu, Nov 19, 2001. *=================================================================*/ # include "mex.h" # include "math.h" void mexFunction( int nargout, mxArray *out[], int nargin, const mxArray *in[] ) { /* declare variables */ int nr, nc, np, nW, total; int i, j, k, t, ix, iy, jx, jy, ii, jj, iip1, jjp1, iip2, jjp2, step,nrSubgrid, ncSubgrid; double sigma, di, dj, a, z, maxori, phase1, phase2, slope; int *ir, *jc; /* unsigned long *pi, *pj, *subpi; */ unsigned int *pi, *pj, *subpi; double *emag, *ephase, *w,*tmp,*subgrid; /* check argument */