Efros-Leung
Exemplar-basedtexturesynthesis(Efros-Leung)
inc/pca.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "auxiliary.h"
00004 #include "linear_algebra.h"
00005 #include "svd.h"
00006 
00007 float *pca_generate_base( float *X, int m, int n, int k );
00008 float *pca_project( float *X, float *W, int k, int m, int n );
00009 float *pca_project_vector( float *x, float *W, float *mean, int m, int k );
00010 void pca_generate_matrix( ImageF w, int t, float *gauss_wg, float **dictionaryU_out,  float **dictionaryD_out, float **dictionaryR_out, float **dictionaryL_out, float **meanU, float **meanD, float **meanR, float **meanL  );
00011 void pca( ImageF w, int t, int k, float* gauss_wg, float **WU, float **WD, float **WR, float **WL, float **YU, float **YD, float **YR, float **YL, float **meanU, float **meanD, float **meanR, float **meanL );
00012 void construct_dictionary_pca( ImageF w, float* gauss_wg_pca, int t, int k, float *YU, float *YD, float *YR, float *YL, float **dictionaryR, float **dictionaryL, float **dictionaryU, float **dictionaryD );
00013 ImageF pca_rgb( Cimage w );
 All Classes Files Functions Variables