Package boofcv.alg.sfm.structure2
Interface LookupSimilarImages
-
public interface LookupSimilarImagesInterface for finding images with a similar appearance by some metric.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfindSimilar(java.lang.String target, java.util.List<java.lang.String> similar)java.util.List<java.lang.String>getImageIDs()booleanlookupMatches(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.voidlookupPixelFeats(java.lang.String target, org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> features)Looks up pixel observations of features in the specified view.voidlookupShape(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 imagesimilar- 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 imagefeatures- 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 AviewB- name of view Bpairs- 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 fromshape- (Output) storage for width and height
-
-