Woolz Image Processing Version 1.4.0
WlzLabel.c File Reference

Segments a domain object into disconnected regions. More...

Data Structures

struct  WlzLAllocBuf
struct  _WlzLLink
struct  allocthings

Typedefs

typedef struct _WlzLLink WlzLLink

Functions

WlzErrorNum WlzLabel3d (WlzObject *obj, int *numobj, WlzObject **objlist, int nobj, int ignlns, WlzConnectType connect)
 Segment a 3D object. This is a private routine for WlzLabel() and should not be called directly.
WlzErrorNum WlzLabel (WlzObject *obj, int *mm, WlzObject ***dstArrayObjs, int maxNumObjs, int ignlns, WlzConnectType connect)
 Segment a domain into connected parts. Connectivity is defined by the connect parameter and can be 4- or 8-connected for 2D objects and 6-, 18- or 26-connected for 3D objects. Note this version requires that there is sufficient space in the objects array defined by maxNumObjs and this is not extended. This should be changed in future so that the array is extended as required.

Detailed Description

Segments a domain object into disconnected regions.

Author:
Jim Piper, Richard Baldock
Date:
March 1999
Version:
Id:
f9465b5174854484b653ba4fdb6814de67070492
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.


Typedef Documentation

typedef struct _WlzLLink WlzLLink