~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-libs/tina/medical/med_SroiDef.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 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 General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU 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  * ANY users of TINA who require exemption from the existing licence must
 20  * negotiate a new licence with Dr. Neil.A.Thacker, the sole agent for
 21  * the University of Manchester.
 22  *
 23  **********
 24  *
 25  * Program :    TINA
 26  * File    :  $Source: /home/tina/cvs/tina-libs/tina/medical/med_SroiDef.h,v $
 27  * Date    :  $Date: 2004/02/13 12:30:33 $
 28  * Version :  $Revision: 1.5 $
 29  * CVS Id  :  $Id: med_SroiDef.h,v 1.5 2004/02/13 12:30:33 neil Exp $
 30  *
 31  * Author  : Legacy TINA
 32  *
 33  * Notes : Structure definitions and constants for the Smart VOI functionality
 34  *
 35  *********
 36 */
 37 
 38 #include "tina/math/math_MatrDef.h"
 39 #include "tina/math/math_VecDef.h"
 40 #include "tina/image/imgDef.h"
 41 
 42 #ifndef TINA_MED_SROI_DEF_HDR
 43 #define TINA_MED_SROI_DEF_HDR
 44 
 45 #define PLEN 40
 46 
 47 typedef struct _sroi_dparams
 48 {
 49   double sparams[PLEN];
 50   double lambda[PLEN];
 51 
 52   double s_min;
 53   double s_max;
 54   double theta_min;
 55   double theta_max;
 56   double m_max;
 57   double p_max;
 58   double g_max;
 59   double ftol;
 60 
 61   int points;
 62   int outer;
 63   int rows;
 64   int vsize;
 65   int pcavsize;
 66   int m_modes;
 67   int p_modes;
 68   int p_length;
 69   Bool profile_on;
 70   Bool gradient_on;
 71   Bool mse_on;
 72 } Sroi_dparams;
 73 
 74 typedef struct pdm{
 75     int vsize;                /* size of profile sampled to file */
 76     int pcavsize;             /* size of profile used in pca model */
 77     int m_modes;              /* number of shape modes used in search */
 78     int p_modes;              /* number of profile models used in search */
 79     int p_length;             /* not used  NAT */
 80     double s_min;             /* minimum scale limit allowed during search */
 81     double s_max;             /* maximum scale limit allowed during search */
 82     double theta_min;         /* allowed angle changes */
 83     double theta_max;
 84     double m_max;             /* max shape parameter value S.D. */
 85     double p_max;             /* max profile parameter value S.D. */
 86     double g_max;             /* max global model parameter va;lue S.D. */
 87     int r;                    /* storage for co-ordinates 0-x 1-y +rotated */
 88     int c;                    /* number of sample data points around profile */
 89     int o;                    /* number of sample points on outer profile */
 90     double tx;                /* origin x */
 91     double ty;                /* origin y */
 92     double s;                 /* length */
 93     double  theta;            /* orientation */
 94     Bool normalise_on;        /* grey level nromalisation */
 95     Bool global_on;           /* shape and grey level pca */
 96     Vector  *alpha;           /* or of each sample */
 97     Vector *maxgrad;
 98     Matrix *m;                /* double of locations in various co-ordinates */
 99     Matrix *profile;          /* int of grey levels */
100     Matrix *g_profile;
101     Matrix *M_Evec;
102     Vector *M_Eval;
103     Matrix *G_Evec;
104     Vector *G_Eval;
105     Matrix **P_Evec;
106     Vector **P_Eval;
107     Vector *m_weight;
108     Matrix *p_weight;
109     Sroi_dparams *params;      /* pass through parameters for optimisation */
110     Imrect *im_grad;           /* pass through image for optimisation */
111 }Model;
112 
113 
114 #endif
115 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.