public class BoundaryBottomRight extends PixelNumber implements IVmtiMetadataValue, IVTrackItemMetadataValue
From ST0903:
Specifies the position of the bottom right corner of the target bounding box within the frame as a pixel number. Numbering commences with 1, at the top left pixel, and proceeds from left to right, top to bottom. The calculation of the pixel number uses the equation: Column + ((Row-1) x Frame Width)). The top left pixel of the frame equates to (Column, Row) = (1, 1) and pixel number 1. The Frame Width comes from VMTI LS Tag 8, if present. If it is not present, then the Frame Width comes from the underlying Motion Imagery. In the absence of underlying Motion Imagery, VMTI LS Tag 8 needs to be present.This item is also used for ST0903 VTrackItem Item 6. The corresponding frame width and frame height are given in VTrackItem Item 20 and Item 21.It is important for bit efficiency to rely on variable length payloads for this value.
Constructor and Description |
---|
BoundaryBottomRight(byte[] bytes)
Create from encoded bytes.
|
BoundaryBottomRight(long num)
Create from value.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Get the human-readable name for the value.
|
getBytes, getDisplayableValue, getPixelNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBytes
getBytes
getDisplayableValue
public BoundaryBottomRight(long num)
num
- the bounding box bottom right pixel numberpublic BoundaryBottomRight(byte[] bytes)
bytes
- Encoded byte arraypublic final String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.