Woolz Image Processing  Version 1.7.5
WlzScalarArithmeticOp.c File Reference

Functions which apply scalar arithmetic operations to domain objects. More...

Functions

WlzErrorNum WlzGreyIncValuesInDomain (WlzObject *gObj, WlzObject *dObj)
 Increments all valus of the firstobjct which are within the domain of the second object. The domain of the first object must cover that of the second. More...
 
WlzErrorNum WlzGreyIncValues2D (WlzObject *obj)
 Increments all values within the given object. More...
 
WlzObjectWlzScalarBinaryOp2 (WlzObject *o1, WlzPixelV pval, WlzBinaryOperatorType op, WlzErrorNum *dstErr)
 Apply a binary operation (add subtract etc) to each pixel value in the given object. The operand value is in pval. More...
 
WlzObjectWlzScalarAdd (WlzObject *o1, WlzPixelV pval, WlzErrorNum *dstErr)
 Add a value to each pixel of an object. More...
 
WlzObjectWlzScalarSubtract (WlzObject *o1, WlzPixelV pval, WlzErrorNum *dstErr)
 Subtract a value from each pixel of an object. More...
 
WlzObjectWlzScalarMultiply (WlzObject *o1, WlzPixelV pval, WlzErrorNum *dstErr)
 Multiply each pixel of an object. More...
 
WlzObjectWlzScalarDivide (WlzObject *o1, WlzPixelV pval, WlzErrorNum *dstErr)
 Divide each pixel of an object. More...
 
WlzObjectWlzScalarMulAdd (WlzObject *iObj, WlzPixelV m, WlzPixelV a, WlzGreyType rGType, WlzErrorNum *dstErr)
 Scales the values of the given Woolz object so that \(v_{new} = m v_{given} + a.\). More...
 

Detailed Description

Functions which apply scalar arithmetic operations to domain objects.

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