poIImagePlane SetVidTrackingWindowSize
Sets the size of the window used for video tracking.
Syntax
Imageplane_handle SetVidTrackingWindowSizesize
Application
HyperView Tcl Modify
Description
This command sets the the size of the window that CalcVidTracking searches after each frame to find the tracking point.
Inputs
- size
- An integer value between 5 and 50.
Example
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 SetVidTrackingWindowSize 10
hwi CloseStack
Errors
Returns HW_InvalidHandle if the image plane handle is invalid, or HW_Error if the size is not an integer or is not between 5 and 50.