Woolz Image Processing  Version 1.7.5
WlzBackground.c File Reference

Functions to get and set the background value of objects. More...

Functions

WlzErrorNum WlzSetBackground (WlzObject *obj, WlzPixelV bgd)
 Sets the backgound value of an image object. More...
 
WlzPixelV WlzGetBackground (WlzObject *obj, WlzErrorNum *dstErr)
 Gets the background value of the given object. More...
 
WlzObjectWlzSetBackGroundNewObj (WlzObject *gObj, WlzPixelV bgdV, WlzErrorNum *dstErr)
 Creates a new Woolz object in which the background value is as given. The given object must be either a 2D or 3D domain object with a valid domain, however it's values can be NULL. If the values are NULL then a new value table is created with the same grey type as the given background value, or if non-NULL then a new value table is created while sharing the values of the original object's value table when this is possible. The given object remains unchanged apart from linkcounts. More...
 

Detailed Description

Functions to get and set the background value of objects.

Author
Richard Baldock, Bill Hill
Date
March 1999
Version
Id
b0750a10b0425ab37ec114f31fd0ba14379aba92
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.