| Constructor and Description |
|---|
TLDUtil() |
| Modifier and Type | Method and Description |
|---|---|
static FImage |
tldNormalizeImg(FImage img)
Resize image to fit in a
NormalizedPatch.TLD_PATCH_SIZE squared image and mean center |
static void |
tldOverlap(Rectangle[] windows,
int numWindows,
Rectangle boundary,
float[] overlap)
tldOverlapNorm(Rectangle, Rectangle) called on every window and boundary. |
static float |
tldOverlapNorm(Rectangle A,
Rectangle B)
Rectangle.overlapping(Rectangle) called and normalised by: |
static void |
tldOverlapOne(ScaleIndexRectangle[] windows,
int firstIndex,
List<Integer> confidentIndices,
float[] distances,
int distIDX)
The overlap of the window at the firstIndex to all windows in the confidentIndices
|
public TLDUtil()
public static FImage tldNormalizeImg(FImage img)
NormalizedPatch.TLD_PATCH_SIZE squared image and mean centerimg - public static void tldOverlap(Rectangle[] windows, int numWindows, Rectangle boundary, float[] overlap)
tldOverlapNorm(Rectangle, Rectangle) called on every window and boundary.windows - numWindows - boundary - overlap - public static float tldOverlapNorm(Rectangle A, Rectangle B)
Rectangle.overlapping(Rectangle) called and normalised by:A - B - public static void tldOverlapOne(ScaleIndexRectangle[] windows, int firstIndex, List<Integer> confidentIndices, float[] distances, int distIDX)
windows - firstIndex - confidentIndices - distances - distIDX -