Woolz Image Processing  Version 1.8.3
WlzGeometryTrackUpAndDown_s.c File Reference

Tracks contours forming surface patches. More...

Macros

#define NumberToTrack   (5)
 
#define MaxNumOfFiles   (100)
 
#define TOL   1.0e-5
 
#define PYTHAG(a, b)
 
#define MAX(a, b)
 
#define SIGN(a, b)   ((b) >= 0.0 ? fabs(a) : -fabs(a))
 

Functions

double ** matrix (int nrl, int nrh, int ncl, int nch)
 
double * vector (int nl, int nh)
 
void free_vector (double *v, int nl, int nh)
 
void free_matrix (double **m, int nrl, int nrh, int ncl, int nch)
 
void nrerror (char error_text[])
 
WlzDVertex3WlzGeometryTrackUpAndDown_s (int numberOfPixelsZ, int startTrackingFile, int numberOfFilesDownOrUp, double disForInAndOutGuid, double disForInAndOut, unsigned char **TwoDImageFilesNameList, int numOf2DWlzFiles, int downOrUp, int sectionLength_N, int subSubSectionLength_L, int numberOfSampleP_k, char *surfacePointFileName, char *surfaceInPointFileName, char *surfaceOutPointFileName, int startShell, int endShell, int startSection, int endSection, double minDis, WlzErrorNum *dstErr)
 Track a curved path through a set of geometric model shells. More...
 

Detailed Description

Tracks contours forming surface patches.

Author
Jianguo Rao
Date
January 2003
Version
Id
bbeda45f47c6efa96337fa59faa956fb1ef7ed64
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Macro Definition Documentation

◆ NumberToTrack

#define NumberToTrack   (5)

◆ MaxNumOfFiles

#define MaxNumOfFiles   (100)

◆ TOL

#define TOL   1.0e-5

◆ PYTHAG

#define PYTHAG (   a,
 
)
Value:
((at=fabs(a)) > (bt=fabs(b)) ? \
(ct=bt/at,at*sqrt(1.0+ct*ct)) : (bt ? (ct=at/bt,bt*sqrt(1.0+ct*ct)): 0.0))

◆ MAX

#define MAX (   a,
 
)
Value:
(maxarg1=(a),maxarg2=(b),(maxarg1) > (maxarg2) ?\
(maxarg1) : (maxarg2))

◆ SIGN

#define SIGN (   a,
 
)    ((b) >= 0.0 ? fabs(a) : -fabs(a))

Function Documentation

◆ matrix()

double ** matrix ( int  nrl,
int  nrh,
int  ncl,
int  nch 
)

◆ vector()

double * vector ( int  nl,
int  nh 
)

◆ free_vector()

void free_vector ( double *  v,
int  nl,
int  nh 
)

◆ free_matrix()

void free_matrix ( double **  m,
int  nrl,
int  nrh,
int  ncl,
int  nch 
)

◆ nrerror()

void nrerror ( char  error_text[])

Referenced by matrix(), and vector().