java.lang.Object
net.preibisch.mvrecon.process.interestpointregistration.pairwise.methods.icp.IterativeClosestPointPairwise<I>
All Implemented Interfaces:
MatcherPairwise<I>

public class IterativeClosestPointPairwise<I extends InterestPoint> extends Object implements MatcherPairwise<I>
Iterative closest point implementation
Author:
Stephan Preibisch (stephan.preibisch@gmx.de)
  • Constructor Details

  • Method Details

    • match

      public <V> PairwiseResult<I> match(Collection<I> listAIn, Collection<I> listBIn, V viewsA, V viewsB, String labelA, String labelB)
      Description copied from interface: MatcherPairwise
      Computes a pairwise matching between two lists of interestpoints. NOTE: If the interestpoints (local or world coordinates) are changed, you MUST duplicate them before using them using e.g. LinkedInteresPoint < I >
      Specified by:
      match in interface MatcherPairwise<I extends InterestPoint>
      Parameters:
      listAIn - interest point list A
      listBIn - interest point list B
      viewsA - the Views or Groups the listAIn interest points come from
      viewsB - the Views or Groups the listBIn interest points come from
      labelA - the label underlying list A
      labelB - the label underlying list B
      Returns:
      matched pairwise results
    • failWith

      public static <I extends InterestPoint> void failWith(PairwiseResult<I> result, String algo, String exType, Exception e)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • requiresInterestPointDuplication

      public boolean requiresInterestPointDuplication()
      We modify w[] on these points, which is not a good idea when running things multithreaded
      Specified by:
      requiresInterestPointDuplication in interface MatcherPairwise<I extends InterestPoint>
      Returns:
      if duplication is necessary