boofcv.examples.features
Class ExampleFeatureSurf
- java.lang.Object
-
- boofcv.examples.features.ExampleFeatureSurf
-
public class ExampleFeatureSurf extends java.lang.ObjectExample of how to use SURF detector and descriptors in BoofCV.
-
-
Constructor Summary
Constructors Constructor and Description ExampleFeatureSurf()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voideasy(GrayF32 image)Use generalized interfaces for working with SURF.static <II extends ImageGray>
voidharder(GrayF32 image)Configured exactly the same as the easy example above, but require a lot more code and a more in depth understanding of how SURF works and is configured.static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
easy
public static void easy(GrayF32 image)
Use generalized interfaces for working with SURF. This removes much of the drudgery, but also reduces flexibility and slightly increases memory and computational requirements.- Parameters:
image- Input image type. DOES NOT NEED TO BE GrayF32, GrayU8 works too
-
harder
public static <II extends ImageGray> void harder(GrayF32 image)
Configured exactly the same as the easy example above, but require a lot more code and a more in depth understanding of how SURF works and is configured. Instead of TupleDesc_F64, SurfFeature are computed in this case. They are almost the same as TupleDesc_F64, but contain the Laplacian's sign which can be used to speed up association. That is an example of how using less generalized interfaces can improve performance.- Parameters:
image- Input image type. DOES NOT NEED TO BE GrayF32, GrayU8 works too
-
main
public static void main(java.lang.String[] args)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG