Interface LookupSimilarImages


  • public interface LookupSimilarImages
    Interface for finding images with a similar appearance by some metric.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void findSimilar​(java.lang.String target, java.util.List<java.lang.String> similar)  
      java.util.List<java.lang.String> getImageIDs()  
      boolean lookupMatches​(java.lang.String viewA, java.lang.String viewB, org.ddogleg.struct.FastQueue<boofcv.struct.feature.AssociatedIndex> pairs)
      Looks up associated features between the two views.
      void lookupPixelFeats​(java.lang.String target, org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> features)
      Looks up pixel observations of features in the specified view.
      void lookupShape​(java.lang.String target, boofcv.struct.image.ImageDimension shape)
      Looks up the original images width and height
    • Method Detail

      • getImageIDs

        java.util.List<java.lang.String> getImageIDs()
      • findSimilar

        void findSimilar​(java.lang.String target,
                         java.util.List<java.lang.String> similar)
        Parameters:
        target - ID of target image
        similar - Storage for IDs of similar images. Cleared upon each call
      • lookupPixelFeats

        void lookupPixelFeats​(java.lang.String target,
                              org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> features)
        Looks up pixel observations of features in the specified view.
        Parameters:
        target - ID of target image
        features - Storage for pixel observations. Cleared upon each call
      • lookupMatches

        boolean lookupMatches​(java.lang.String viewA,
                              java.lang.String viewB,
                              org.ddogleg.struct.FastQueue<boofcv.struct.feature.AssociatedIndex> pairs)
        Looks up associated features between the two views. Which view
        Parameters:
        viewA - name of view A
        viewB - name of view B
        pairs - Storage for associated features. Cleared upon each call
        Returns:
        true if views are similar and have known associations. False if not and results should be ignored
      • lookupShape

        void lookupShape​(java.lang.String target,
                         boofcv.struct.image.ImageDimension shape)
        Looks up the original images width and height
        Parameters:
        target - (Input) the image to retrieve from
        shape - (Output) storage for width and height