Woolz Image Processing Version 1.4.0
WlzPatchObjRegister.c File Reference

Registers patch objects and outputs a single object. More...

Data Structures

struct  _patchTree

Typedefs

typedef struct _patchTree WlzPatchTree

Functions

int WlzIsAdjacentPatch (WlzObject *obj1, WlzObject *obj2)
int sortPatch (const void *p1, const void *p2)
WlzPatchTreeWlzMakePatchTree (WlzObject *obj, int depth, double cost)
WlzErrorNum WlzGetPatchTreeToDepth (WlzObject **objs, int nobjs, WlzPatchTree *patchTree, int depth)
WlzPatchTreeWlzGetPatchTree (WlzObject *obj, WlzObject **objs, int nobjs)
WlzErrorNum WlzFreePatchTree (WlzPatchTree *patchTree)
double WlzMass (WlzObject *obj, WlzErrorNum *dstErr)
WlzObjectWlzGreyShift (WlzObject *obj, double delta, WlzErrorNum *dstErr)
WlzObjectWlzGreyScale (WlzObject *obj, double scale, WlzErrorNum *dstErr)
WlzObjectWlzRGBAGreyScale (WlzObject *obj, double *scale, WlzErrorNum *dstErr)
double WlzGreyMeanDifference (WlzObject *obj1, WlzObject *obj2, double samplePercent, WlzErrorNum *dstErr)
WlzErrorNum DumbRegMatch (WlzDVertex2 *shift, double *matchVal, WlzObject *obj1, WlzObject *obj2, WlzIVertex2 maxShift)
WlzPatchTreeWlzPatchTreeUnalignedChild (WlzPatchTree *patchTree, int depth, WlzDVertex2 *shift)
int WlzPatchMaxDepth (WlzPatchTree *patchTree)
WlzErrorNum WlzRegisterPatchTreeBF (WlzPatchTree *patchTree)
WlzErrorNum WlzRegisterPatchTreeDF (WlzPatchTree *patchTree)
WlzObjectWlzPatchTreeToObject (WlzPatchTree *patchTree, int alignGreysFlg)
int WlzPatchHitBuffers (WlzPatchTree *patchTree)
WlzErrorNum WlzPrintPatchTree (WlzPatchTree *patchTree, FILE *fp, int depth)
WlzErrorNum WlzPatchFacts (WlzPatchTree *patchTree, FILE *fp, char **dstStr, int verbose)
int main (int argc, char **argv)

Detailed Description

Registers patch objects and outputs a single object.

Author:
Richard Baldock
Date:
February 1998
Version:
Id:
09f419326f37ff0394a6bafb2205584a7ef07c4b
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.

Binary
WlzPatchObjRegister

Typedef Documentation

typedef struct _patchTree WlzPatchTree

Function Documentation

int sortPatch ( const void *  p1,
const void *  p2 
)

References _patchTree::cost.

Referenced by WlzGetPatchTreeToDepth().

WlzPatchTree* WlzMakePatchTree ( WlzObject obj,
int  depth,
double  cost 
)
WlzErrorNum WlzFreePatchTree ( WlzPatchTree patchTree)
int WlzPatchMaxDepth ( WlzPatchTree patchTree)
int WlzPatchHitBuffers ( WlzPatchTree patchTree)
WlzErrorNum WlzPrintPatchTree ( WlzPatchTree patchTree,
FILE *  fp,
int  depth 
)
WlzErrorNum WlzPatchFacts ( WlzPatchTree patchTree,
FILE *  fp,
char **  dstStr,
int  verbose 
)