Woolz Image Processing
Version 1.8.3
|
A rectangular to polar image resampling filter. More...
Functions | |
WlzObject * | WlzPolarSample (WlzObject *srcObj, WlzIVertex2 org, double angleInc, double distInc, int nLines, int outFlag, WlzErrorNum *wlzErr) |
Polar resamples the given woolz object using the given angle and radial distance increments. All angles are in radians. Notes: The linkcount of the returned object is zero. More... | |
A rectangular to polar image resampling 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* WlzPolarSample | ( | WlzObject * | srcObj, |
WlzIVertex2 | org, | ||
double | angleInc, | ||
double | distInc, | ||
int | nLines, | ||
int | outFlag, | ||
WlzErrorNum * | wlzErr | ||
) |
Polar resamples the given woolz object using the given angle and radial distance increments. All angles are in radians. Notes: The linkcount of the returned object is zero.
srcObj | Given Woolz object. |
org | Origin in given object about which to polar resample. |
angleInc | Angle increment (radians). |
distInc | Radial distance increment. |
nLines | Number of lines (angular samples). |
outFlag | If non zero then the outer bounding circle of the given object is used, else the inner bound is used for resampling. |
wlzErr | Destination error pointer, may be NULL. |
References _WlzValues::core, _WlzDomain::core, _WlzObject::domain, _WlzDomain::i, _WlzIntervalDomain::kol1, _WlzIntervalDomain::lastkl, _WlzIntervalDomain::lastln, _WlzIntervalDomain::line1, _WlzObject::type, _WlzCoreDomain::type, _WlzGreyP::ubp, _WlzObject::values, _WlzIVertex2::vtX, _WlzIVertex2::vtY, WLZ_2D_DOMAINOBJ, WLZ_DBG, WLZ_DBG_LVL_1, WLZ_DBG_LVL_FN, WLZ_EMPTY_OBJ, WLZ_ERR_DOMAIN_NULL, WLZ_ERR_DOMAIN_TYPE, WLZ_ERR_NONE, WLZ_ERR_OBJECT_NULL, WLZ_ERR_PARAM_DATA, WLZ_ERR_VALUES_NULL, WLZ_INTERVALDOMAIN_INTVL, WLZ_INTERVALDOMAIN_RECT, WlzMakeEmpty(), _WlzIBox2::xMax, _WlzIBox2::xMin, _WlzIBox2::yMax, and _WlzIBox2::yMin.