Class BatchPairwiseDistanceTask

java.lang.Object
javax.swing.SwingWorker<Void,Integer>
cz.fidentis.analyst.gui.task.batch.distance.BatchDistanceTask
cz.fidentis.analyst.gui.task.batch.distance.BatchPairwiseDistanceTask
All Implemented Interfaces:
Runnable, Future<Void>, RunnableFuture<Void>

public class BatchPairwiseDistanceTask extends BatchDistanceTask
A task that computes similarity of a set of faces by applying two-way (from A to B and vice versa) distance measurement to all pairs A and B if the set. The average face, if exists, is skipped from the similarity measurement (i.e., we do not measure its distance to other faces). The exact computation parameters are taken from the BatchDistancePanel.
  • Constructor Details

    • BatchPairwiseDistanceTask

      public BatchPairwiseDistanceTask(ProgressDialog<Void,Integer> progressDialog, BatchControlPanel controlPanel, boolean crop)
      Constructor.
      Parameters:
      progressDialog - A window that show the progress of the computation. Must not be null
      controlPanel - A control panel with computation parameters. Must not be null
      crop - If true, then the measured faces are auto-cropped to the surface of the average face. This option slows down the computation even more, but enables us to compare the results of this pairwise comparison other methods based of indirect measurement (i.e., the methods that use the average face as a "gauge"). This option is ignored if there is average face computed.
  • Method Details