Woolz Image Processing
Version 1.7.5
|
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... | |
WlzObject * | WlzSetBackGroundNewObj (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... | |
Functions to get and set the background value of objects.
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.