Woolz Image Processing Version 1.4.0
WlzIntervalCount.c File Reference

Counts the number of intervals (or equivalent) in an object's domain. More...

Functions

int WlzIDomMaxItvLn (WlzIntervalDomain *iDom)
 Computes the maximum number of intervals on any line.
int WlzIntervalCount (WlzIntervalDomain *idom, WlzErrorNum *dstErr)
 Count the number of intervals or equivalent if rectangular.
WlzLong WlzIntervalCountObj (WlzObject *obj, WlzErrorNum *dstErr)
 Counts the number of intervals in an object, where the object type is WLZ_EMPTY_OBJ, WLZ_2D_DOMAINOBJ or WLZ_3D_DOMAINOBJ. Any other object type (including compound objects is an error).

Detailed Description

Counts the number of intervals (or equivalent) in an object's domain.

Author:
Bill Hill
Date:
September 2003
Version:
Id:
043a1aaf301c1543edbf1a846a8ff4a4f359c17e
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.