public class FeaturePenaltyCostFunction extends Object implements CostFunction<Spot,Spot>
This cost is calculated as follow:
pis calculated as
p = 3 × α × |f1-f2| / (f1+f2), where
αis the factor associated to the feature in the map. This expression is such that:
f2are the same;
P = (1 + ∑ p )
C = ( D × P )²
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the cost to link two objects.
Copyright © 2015–2017 Fiji. All rights reserved.