Woolz Image Processing
Version 1.7.5
|
Implements a Sobel edge detection filter. More...
Functions | |
WlzObject * | WlzSobel (WlzObject *srcObj, int hFlag, int vFlag, WlzErrorNum *dstErr) |
Applies a Sobel edge detection filter to the given woolz object. More... | |
Implements a Sobel edge detection filter.
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.
WlzObject* WlzSobel | ( | WlzObject * | srcObj, |
int | hFlag, | ||
int | vFlag, | ||
WlzErrorNum * | dstErr | ||
) |
Applies a Sobel edge detection filter to the given woolz object.
srcObj | Given source object. |
hFlag | Apply horizontal edge kernel if non-zero. |
vFlag | Apply vertical edge kernel if non-zero. |
dstErr | Destination error pointer, may be NULL. |
References _WlzValues::core, _WlzDomain::core, _WlzConvolution::cv, _WlzConvolution::divscale, _WlzObject::domain, _WlzConvolution::linkcount, _WlzConvolution::modflag, _WlzConvolution::offset, _WlzObject::type, _WlzCoreValues::type, _WlzConvolution::type, _WlzObject::values, WLZ_2D_DOMAINOBJ, WLZ_BO_ADD, WLZ_CONVOLVE_FLOAT, WLZ_CONVOLVE_INT, WLZ_DBG, WLZ_DBG_LVL_1, WLZ_DBG_LVL_FN, WLZ_ERR_DOMAIN_NULL, WLZ_ERR_GREY_DATA, WLZ_ERR_NONE, WLZ_ERR_OBJECT_NULL, WLZ_ERR_OBJECT_TYPE, WLZ_ERR_VALUES_NULL, WLZ_GREY_DOUBLE, WLZ_GREY_FLOAT, WLZ_GREY_INT, WLZ_GREY_RGBA, WLZ_GREY_SHORT, WLZ_GREY_UBYTE, WlzAssignObject(), WlzConvertPix(), WlzConvolveObj(), WlzFreeObj(), WlzGreyTableTypeToGreyType(), WlzImageArithmetic(), _WlzConvolution::xsize, and _WlzConvolution::ysize.