MISB 0903 Converter Library  Version 2.02
Public Member Functions | Public Attributes | List of all members
VTargetPack Class Reference

VTargetPack helper class. More...

Inheritance diagram for VTargetPack:

Public Member Functions

bool SetTargetCentroidPixel (unsigned __int64 pixel)
 Defines the position of the target within the video frame in pixels.
 
bool SetBoundingBoxTopLeftPixel (unsigned __int64 pixel)
 Defines the position of the top left corner of the target bounding box within the video frame in pixels.
 
bool SetBoundingBoxTopRightPixel (unsigned __int64 pixel)
 Defines the position of the bottom right corner of the target bounding box within the video frame in pixels.
 
bool SetTargetPriority (unsigned char priority)
 Priority or validity of target based on criteria within the VMTI system. The target(s) with the highest priority may not have the highest confidence level.
 
bool SetTargetConfidenceLevel (unsigned char level)
 Confidence level of target based on criteria within the VMTI system. The target(s) with the highest confidence may not have the highest priority value.
 
bool SetNewDetectionFlag (int flag)
 The number of previous times the same target has been detected.
 
bool SetPercentageOfTargetPixels (int percent)
 The percentage of pixels within the bounding box that are detected to be target pixels rather than background pixels.
 
bool SetTargetColor (int color)
 Dominant color of the target. For use when metadata is transmitted in the absence of the underlying video. RGB color value.
 
bool SetTargetIntensity (int color)
 Dominant Intensity of the target. For use when metadata is transmitted in the absence of the underlying video.
 
bool SetTargetLocationLatOffset (double lat)
 Latitude offset for target from frame center latitude (0601). Based on WGS84 ellipsoid. Use with Frame Center Latitude.
 
bool SetTargetLocationLonOffset (double lon)
 Longitude offset for target from frame center longitude (0601). Based on WGS84 ellipsoid. Use with Frame Center Longitude.
 
bool SetTargetHeight (double alt)
 Height of target in meters above WGS84 Ellipsoid.
 
bool SetBoundingBoxTopLeftLatOffset (double lat)
 Latitude offset for top left corner of target bounding box. Use with 0601 Frame Center Latitude.
 
bool SetBoundingBoxTopLeftLonOffset (double lon)
 Longitude offset for top left corner of target bounding box. Use with 0601 Frame Center Longitude.
 
bool SetBoundingBoxBottomRightLatOffset (double lat)
 Latitude offset for bottom right corner of target bounding box. Use with 0601 Frame Center Latitude.
 
bool SetBoundingBoxBottomRightLonOffset (double lon)
 Longitude offset for bottom right corner of target bounding box. Use with 0601 Frame Center Longitude.
 
map< VTargetPackTag, VTargetItem * > & GetVTargetPackItems ()
 
void AddItem (VTargetPackTag tag, unsigned char *val, size_t len)
 
 VTargetPack (int id)
 
 VTargetPack (unsigned int id)
 
bool SetTargetCentroidPixel (unsigned __int64 pixel)
 Defines the position of the target within the video frame in pixels.
 
bool SetBoundingBoxTopLeftPixel (unsigned __int64 pixel)
 Defines the position of the top left corner of the target bounding box within the video frame in pixels.
 
bool SetBoundingBoxBottomRightPixel (unsigned __int64 pixel)
 Defines the position of the bottom right corner of the target bounding box within the video frame in pixels.
 
bool SetTargetPriority (unsigned char priority)
 Priority or validity of target based on criteria within the VMTI system. The target(s) with the highest priority may not have the highest confidence level.
 
bool SetTargetConfidenceLevel (unsigned char level)
 Confidence level of target based on criteria within the VMTI system. The target(s) with the highest confidence may not have the highest priority value.
 
bool SetNewDetectionFlag (unsigned short flag)
 The number of previous times the same target has been detected.
 
bool SetPercentageOfTargetPixels (unsigned char percent)
 The percentage of pixels within the bounding box that are detected to be target pixels rather than background pixels.
 
bool SetTargetColor (unsigned int color)
 Dominant color of the target. For use when metadata is transmitted in the absence of the underlying video. RGB color value.
 
bool SetTargetIntensity (unsigned int intensity)
 Dominant Intensity of the target. For use when metadata is transmitted in the absence of the underlying video.
 
bool SetTargetLocationLatOffset (float lat)
 Latitude offset for target from frame center latitude (0601). Based on WGS84 ellipsoid. Use with Frame Center Latitude.
 
bool SetTargetLocationLonOffset (float lon)
 Longitude offset for target from frame center longitude (0601). Based on WGS84 ellipsoid. Use with Frame Center Longitude.
 
bool SetTargetHeight (float alt)
 Height of target in meters above WGS84 Ellipsoid.
 
bool SetBoundingBoxTopLeftLatOffset (float lat)
 Latitude offset for top left corner of target bounding box. Use with 0601 Frame Center Latitude.
 
bool SetBoundingBoxTopLeftLonOffset (float lon)
 Longitude offset for top left corner of target bounding box. Use with 0601 Frame Center Longitude.
 
bool SetBoundingBoxBottomRightLatOffset (float lat)
 Latitude offset for bottom right corner of target bounding box. Use with 0601 Frame Center Latitude.
 
bool SetBoundingBoxBottomRightLonOffset (float lon)
 Longitude offset for bottom right corner of target bounding box. Use with 0601 Frame Center Longitude.
 
bool SetVTrackerLDS (VTrackerLDS *vLDS)
 VTracker Local Set.
 
map< VTargetPackTag, VTargetItem * > & GetVTargetPackItems ()
 GetVTargetPackItems returns an internal map of VTargetPackTag / VTargetItem* pairs. More...
 
void AddItem (VTargetPackTag tag, unsigned char *val, size_t len)
 AddItem inserts a VTargetPack item. More...
 
bool DecodeValue (VTargetPackTag tag, VARIANT *vt)
 Converts a "value" into formatted value in units defined in EG0601 spec. More...
 
string DecodeValueH (VTargetPackTag tag)
 Converts a "value" into human readable formatted string. More...
 

Public Attributes

int TargetID
 This element is mandatory and it must come first in the VTarget Pack. It is BER-OID encoded to convey the length but has no Tag or Length field. Range 1.. 2,097,151.
 
unsigned int TargetID
 This element is mandatory and it must come first in the VTarget Pack. It is BER-OID encoded to convey the length but has no Tag or Length field. Range 1.. 2,097,151.
 

Detailed Description

VTargetPack helper class

Examples:
STD0903DemoApp.cpp.

Member Function Documentation

§ AddItem()

void VTargetPack::AddItem ( VTargetPackTag  tag,
unsigned char *  val,
size_t  len 
)

AddItem inserts a VTargetPack item.

Parameters
taga VTargetPackTag. VTargetPack Tag
valan unsigned char* . Pointer to TargetPack item value
lena size_t. Buffer length
Returns
void.

§ DecodeValue()

bool VTargetPack::DecodeValue ( VTargetPackTag  tag,
VARIANT *  vt 
)

DecodeValue converts a "value" into formatted value in units defined in EG0601 spec.

Parameters
tagan int. Key Tag
vta VARIANT*. Value
Returns
bool.
Examples:
STD0903DemoApp.cpp.

§ DecodeValueH()

string VTargetPack::DecodeValueH ( VTargetPackTag  tag)

DecodeValueH (human readable) converts a "value" into formatted string.

Parameters
tagan int. Key Tag
Returns
string.

§ GetVTargetPackItems()

map<VTargetPackTag, VTargetItem*>& VTargetPack::GetVTargetPackItems ( )
inline

GetVTargetPackItems returns an internal map of VTargetPackTag / VTargetItem* pairs.

Returns
map<VTargetPackTag, VTargetItem*>&.
Untitled 1




 Copyright 2014,    IMPLEOTV SYSTEMS LTD