Package group3dlocaliser.algorithm
Class LocaliserAlgorithm3D
java.lang.Object
group3dlocaliser.algorithm.LocaliserAlgorithm3D
- All Implemented Interfaces:
LocaliserModel<PamDataUnit>
- Direct Known Subclasses:
CrossedBearingGroupLocaliser
,MFPGridSearch
,TOADBaseAlgorithm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canArrayShape
(int arrayShape) Ask if the algorithm can process this type of array data.abstract boolean
canLocalise
(PamDataBlock pamDataBlock) Get an algorithm specific settings pane.int
getGroupChannelMap
(SuperDetection superDetection) getSourceSettingsPane
(Window parent, PamDataBlock<?> detectionSource) Get a source settings pane.abstract SQLLoggingAddon
getSQLLoggingAddon
(int arrayType) Get SQL Logging Addon data to append to the basic database tablepreFilterLoc
(DetectionGroupedSet preGroups) Option to pre-filter the localisation results.abstract boolean
prepare
(PamDataBlock sourceBlock) void
setLocaliserParams
(LocaliserAlgorithmParams localiserParams) The loclaiser params.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Localiser.LocaliserModel
getLocContents, getName, getToolTipText, hasParams, notifyModelProgress, runModel
-
Constructor Details
-
LocaliserAlgorithm3D
public LocaliserAlgorithm3D()
-
-
Method Details
-
prepare
-
getSQLLoggingAddon
Get SQL Logging Addon data to append to the basic database table- Parameters:
arrayType
- type of array - which may affect how logging is organised.- Returns:
- SQL Logging information.
-
preFilterLoc
Option to pre-filter the localisation results. This can be useful when using algorithms that internally handle detection match uncertainty. -
setLocaliserParams
The loclaiser params. TheNote: the localiser params for each model are stored in
- Parameters:
localiserParams
-
-
getAlgorithmSettingsPane
Get an algorithm specific settings pane. This holds settings which are specific to the localisation algorithm.- Specified by:
getAlgorithmSettingsPane
in interfaceLocaliserModel<PamDataUnit>
- Returns:
- the settings pane for the localiser.
-
getSourceSettingsPane
public ToadManagedSettingsPane<Serializable> getSourceSettingsPane(Window parent, PamDataBlock<?> detectionSource) Get a source settings pane. This will be inserted into the dialog beneath where the detection source and algorithm have been selected.
Can be null if the algorithm / data source have no source settings. May also change should there be any changes to the data source type.- Parameters:
parent
-- Returns:
- Pane to insert into the main 3D localiser dialog.
-
canLocalise
- Parameters:
pamDataBlock
-- Returns:
- true if this algorithm can process this type of data.
-
canArrayShape
public boolean canArrayShape(int arrayShape) Ask if the algorithm can process this type of array data.- Parameters:
arrayShape
- array shape. One of:
ArrayManager.ARRAY_TYPE_NONE
ArrayManager.ARRAY_TYPE_POINT
ArrayManager.ARRAY_TYPE_LINE
ArrayManager.ARRAY_TYPE_PLANE
ArrayManager.ARRAY_TYPE_VOLUME- Returns:
-
getGroupChannelMap
-