1 /**********
2 *
3 * This file is part of the TINA Open Source Image Analysis Environment
4 * henceforth known as TINA
5 *
6 * TINA is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation.
9 *
10 * TINA is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with TINA; if not, write to the Free Software Foundation, Inc.,
17 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 **********
20 *
21 * Program : TINA
22 * File : $Source: /home/tina/cvs/tina-libs/tina/medical/medSroi_pca.h,v $
23 * Date : $Date: 2004/02/13 12:30:33 $
24 * Version : $Revision: 1.5 $
25 * CVS Id : $Id: medSroi_pca.h,v 1.5 2004/02/13 12:30:33 neil Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes : Principle component analysis (PCA) for SROI functionality
30 *
31 *********
32 */
33
34 #ifndef TINA_MED_SROI_PCA_HDR
35 #define TINA_MED_SROI_PCA_HDR
36
37 #include <tina/medical/med_SroiDef.h>
38 #include <tina/image/imgDef.h>
39
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
44
45 void prof_normalise_on(Model *mdl, Bool on);
46 void prof_global_on(Model *mdl, Bool on);
47 Bool prof_normalise_get(Model *mdl);
48 Bool prof_global_get(Model *mdl);
49 void input_pca(char *pcafn, Model *model);
50 void update_model_sparams(Model *mdl, Sroi_dparams *params);
51 void pca_model(char *modelfn, char *pcafn, char *meanfn, Sroi_dparams *params);
52
53
54 #ifdef __cplusplus
55 }
56 #endif /* __cplusplus */
57
58 #endif /*TINA_MED_SROI_PCA_HDR*/
59
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.