Woolz Image Processing Version 1.4.0
|
Filters for geometric models (GM's). More...
Functions | |
WlzErrorNum | WlzGMFilterFlipOrient (WlzGMModel *model) |
Flips the orientation of edges in 2D models and faces in 3D models. This is done in place. | |
WlzErrorNum | WlzGMFilterRmSmShells (WlzGMModel *model, int minSpx) |
Removes small shells from the given geometric model. | |
WlzErrorNum | WlzGMFilterGeomLP (WlzGMModel *model, double kPB, double kSB, double dPB, double dSB, int maxItr, int nonMan) |
Performs a low pass filtering operation on the geometry of the model, given the band pass and band stop filter parameters. These parameters specify the transfer function of the low pass filter. | |
WlzErrorNum | WlzGMFilterGeomLPParam (double *dstLambda, double *dstMu, int *dstNItr, double kPB, double kSB, double dPB, double dSB) |
Computes the values of ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
are constrained by:
Following Taubin's fairing paper an additional constraint is imposed
| |
WlzErrorNum | WlzGMFilterGeomLPLM (WlzGMModel *model, double lambda, double mu, int nItr, int nonMan) |
Given values of ![]() ![]() ![]() |
Filters for geometric models (GM's).
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.
WlzErrorNum WlzGMFilterFlipOrient | ( | WlzGMModel * | model | ) |
Flips the orientation of edges in 2D models and faces in 3D models. This is done in place.
model | Given model. |
References AlcVectorItemGet(), _WlzGMModelR::edge, _WlzGMEdge::edgeT, _WlzGMModelR::face, _WlzGMFace::idx, _WlzGMEdge::idx, _WlzGMFace::loopT, _WlzGMResource::numIdx, _WlzGMLoopT::opp, _WlzGMEdgeT::opp, _WlzGMModel::res, _WlzGMModel::type, _WlzGMResource::vec, WLZ_ERR_DOMAIN_NULL, WLZ_ERR_DOMAIN_TYPE, WLZ_ERR_NONE, WLZ_GMMOD_2D, WLZ_GMMOD_2I, WLZ_GMMOD_2N, WLZ_GMMOD_3D, WLZ_GMMOD_3I, and WLZ_GMMOD_3N.