There is a separate object per region identified.
The weighting scheme is such that weight=1 at the boundary of the region, > 1 in the interior of the region and < 1 outside the region, falling quickly to zero beyond 2x the region boundary.
Public Member Functions
|WeightingScheme (size_t size_of_region, float relative_wt_of_region=1.0)|
|Sets up the spatial interpolation for a region. |
|float||getWeightForDistSq (float distsq)|
|workhorse function giving weight given distance from this region. |
|float||getMaximumDistance () const|
|Distance beyond which the contribution from this region can be ignored. |
Static Public Member Functions
|static float||getMinimumWeight ()|
|static float||getMaximumWeight ()|
|float|| relative_wt_of_region = |
Sets up the spatial interpolation for a region.
|float w2kmeans::WeightingScheme::getMaximumDistance||(||)|| const
Distance beyond which the contribution from this region can be ignored.
|static float w2kmeans::WeightingScheme::getMaximumWeight||(||)||
|static float w2kmeans::WeightingScheme::getMinimumWeight||(||)||
workhorse function giving weight given distance from this region.