Class LocaliserAlgorithm3D

java.lang.Object
group3dlocaliser.algorithm.LocaliserAlgorithm3D
All Implemented Interfaces:
LocaliserModel<PamDataUnit>
Direct Known Subclasses:
CrossedBearingGroupLocaliser, MFPGridSearch, TOADBaseAlgorithm

public abstract class LocaliserAlgorithm3D extends Object implements LocaliserModel<PamDataUnit>
  • Constructor Details

    • LocaliserAlgorithm3D

      public LocaliserAlgorithm3D()
  • Method Details

    • prepare

      public abstract boolean prepare(PamDataBlock sourceBlock)
    • getSQLLoggingAddon

      public abstract SQLLoggingAddon getSQLLoggingAddon(int arrayType)
      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

      public DetectionGroupedSet preFilterLoc(DetectionGroupedSet preGroups)
      Option to pre-filter the localisation results. This can be useful when using algorithms that internally handle detection match uncertainty.
    • setLocaliserParams

      public void setLocaliserParams(LocaliserAlgorithmParams localiserParams)
      The loclaiser params. The

      Note: the localiser params for each model are stored in

      Parameters:
      localiserParams -
    • getAlgorithmSettingsPane

      public LocaliserPane<Serializable> getAlgorithmSettingsPane()
      Get an algorithm specific settings pane. This holds settings which are specific to the localisation algorithm.
      Specified by:
      getAlgorithmSettingsPane in interface LocaliserModel<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

      public abstract boolean canLocalise(PamDataBlock pamDataBlock)
      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

      public int getGroupChannelMap(SuperDetection superDetection)