Woolz Image Processing  Version 1.8.3
WlzRGBAThreshold.c File Reference

Threshold functions for RGBA objects. More...

Data Structures

struct  _WlzVectorThresholdStruct
 

Typedefs

typedef struct _WlzVectorThresholdStruct WlzVectorThresholdStruct
 

Functions

WlzObjectWlzRGBAMultiThreshold (WlzObject *obj, WlzPixelV lowVal, WlzPixelV highVal, WlzUInt combineMode, WlzErrorNum *dstErr)
 Apply independent thresholds to each colour channel independently and combine according to the settings encoded in combineMode. Each channel can have one of two modes: WLZ_BO_AND and WLZ_BO_OR. These are encoded into a single mode variable using the RGBA macro, e.g.: WLZ_RGBA_RGBA_SET(combineMode, redMode, greenMode, blueMode, 255);. More...
 
int WlzVectorThreshCb (WlzObject *obj, void *clientData, WlzThreshCbStr *cbs)
 
WlzObjectWlzRGBASliceThreshold (WlzObject *obj, WlzPixelV lowVal, WlzPixelV highVal, WlzErrorNum *dstErr)
 
WlzObjectWlzRGBABoxThreshold (WlzObject *obj, WlzPixelV lowVal, WlzPixelV highVal, WlzErrorNum *dstErr)
 
WlzObjectWlzRGBAEllipsoidThreshold (WlzObject *obj, WlzPixelV lowVal, WlzPixelV highVal, double eccentricity, WlzErrorNum *dstErr)
 

Detailed Description

Threshold functions for RGBA objects.

Author
Richard Baldock
Date
July 2003
Version
Id
a66c88e72acad40e0fd950a3008d03ed702c0ece
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

◆ WlzVectorThresholdStruct

Function Documentation

◆ WlzVectorThreshCb()

◆ WlzRGBASliceThreshold()

◆ WlzRGBABoxThreshold()

◆ WlzRGBAEllipsoidThreshold()