boofcv.alg.tracker.tld
Class TldHelperFunctions
- java.lang.Object
-
- boofcv.alg.tracker.tld.TldHelperFunctions
-
public class TldHelperFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description TldHelperFunctions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecomputeOverlap(ImageRectangle a, ImageRectangle b)Computes the fractional area of intersection between the two regions.static voidconvertRegion(Rectangle2D_F64 input, Rectangle2D_I32 output)static voidconvertRegion(Rectangle2D_I32 input, Rectangle2D_F64 output)
-
-
-
Method Detail
-
computeOverlap
public double computeOverlap(ImageRectangle a, ImageRectangle b)
Computes the fractional area of intersection between the two regions.- Returns:
- number from 0 to 1. higher means more intersection
-
convertRegion
public static void convertRegion(Rectangle2D_F64 input, Rectangle2D_I32 output)
-
convertRegion
public static void convertRegion(Rectangle2D_I32 input, Rectangle2D_F64 output)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG