Woolz Image Processing  Version 1.8.3
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
e6b912587de420c9f6572f139377b96ea50364b6
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

◆ WlzPatchTree

typedef struct _patchTree WlzPatchTree

Function Documentation

◆ WlzIsAdjacentPatch()

◆ sortPatch()

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

References _patchTree::cost.

Referenced by WlzGetPatchTreeToDepth().

◆ WlzMakePatchTree()

WlzPatchTree* WlzMakePatchTree ( WlzObject obj,
int  depth,
double  cost 
)

◆ WlzGetPatchTreeToDepth()

◆ WlzGetPatchTree()

◆ WlzFreePatchTree()

◆ WlzMass()

◆ WlzGreyShift()

◆ WlzGreyScale()

◆ WlzRGBAGreyScale()

◆ WlzGreyMeanDifference()

◆ DumbRegMatch()

WlzErrorNum DumbRegMatch ( WlzDVertex2 shift,
double *  matchVal,
WlzObject obj1,
WlzObject obj2,
WlzIVertex2  maxShift 
)

◆ WlzPatchTreeUnalignedChild()

◆ WlzPatchMaxDepth()

int WlzPatchMaxDepth ( WlzPatchTree patchTree)

◆ WlzRegisterPatchTreeBF()

◆ WlzRegisterPatchTreeDF()

WlzErrorNum WlzRegisterPatchTreeDF ( WlzPatchTree patchTree)

References _WlzIVertex2::vtX, and WLZ_ERR_NONE.

◆ WlzPatchTreeToObject()

◆ WlzPatchHitBuffers()

int WlzPatchHitBuffers ( WlzPatchTree patchTree)

References _patchTree::xOff.

◆ WlzPrintPatchTree()

WlzErrorNum WlzPrintPatchTree ( WlzPatchTree patchTree,
FILE *  fp,
int  depth 
)

◆ WlzPatchFacts()

◆ main()

int main ( int  argc,
char **  argv 
)