public class MergeSpatialClusters extends MergeBase
The features passed to DBSCAN are based on:
maxDistanceCOG
(calculated on XY resolution)
MergeBase.MergeObjects
Constructor and Description |
---|
MergeSpatialClusters() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
createFromObjects(ObjectCollection objectsToMerge)
Creates a
ObjectCollection given the entity provided by the delegate. |
ChannelProvider |
getDistanceMapProvider()
A distance map which can also be used for making decisions on merging
|
UnitValueDistance |
getMaxDistanceCOG()
The maximum distance allowed between center-of-gravities of objects
|
double |
getMaxDistanceDeltaContour()
The maximum distance allowed between the 'distance from contour' values provided from the
distanceMap for each point.
|
void |
setDistanceMapProvider(ChannelProvider distanceMapProvider)
A distance map which can also be used for making decisions on merging
|
void |
setMaxDistanceCOG(UnitValueDistance maxDistanceCOG)
The maximum distance allowed between center-of-gravities of objects
|
void |
setMaxDistanceDeltaContour(double maxDistanceDeltaContour)
The maximum distance allowed between the 'distance from contour' values provided from the
distanceMap for each point.
|
getDimensions, mergeMultiplex, resolutionRequired, setDimensions, unitConvertOptional
containerOptional, containerRequired, getObjectsContainer, setObjectsContainer
get, getObjects, setObjects
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection createFromObjects(ObjectCollection objectsToMerge) throws ProvisionFailedException
ObjectCollectionProviderUnary
ObjectCollection
given the entity provided by the delegate.createFromObjects
in class ObjectCollectionProviderUnary
objectsToMerge
- the entity provided by the delegate.ObjectCollection
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.public ChannelProvider getDistanceMapProvider()
public void setDistanceMapProvider(ChannelProvider distanceMapProvider)
public UnitValueDistance getMaxDistanceCOG()
public void setMaxDistanceCOG(UnitValueDistance maxDistanceCOG)
public double getMaxDistanceDeltaContour()
public void setMaxDistanceDeltaContour(double maxDistanceDeltaContour)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.