poIImagePlane GetVidTrackData

Gets the video tracking data used to track a point.

Syntax

Imageplane_handle GetVidTrackData

Application

HyperView Tcl Query

Description

This command returns the video tracking data used to track a point. This is primarily used for creating session files. The string returned is in the form “x y X Y X Y X Y…..” , where x and y are floats for the pixel location of the tracking point and the remaining X's and Y's are the offsets per frame order from beginning to end.

Example

To get the video tracking data after calculating video tracking on an image plane:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetImagePlaneCtrlHandle ipc_handle
ipc_handle GetImagePlaneHandle image_plane_handle 1
image_plane_handle GetVidTrackData
hwi CloseStack

Errors

Returns HW_InvalidHandle if the image plane handle is invalid.