poIImagePlane ReprojectionError
Calculate the reprojection error between the current multi-point alignment points.
Syntax
Imageplane_handle ReprojectionErrorspointList
Application
HyperView Tcl Query
Description
This command returns a calculation (float) of the projection error that would result from an alignment based on the point list.
Inputs
- pointList
- A string containing at least seven corresponding model and image points that will be used for an alignment.
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 SetFileName “some file”
image_plane_handle ReprojectionError "9 1 420608 @ 1 225 1 608 1 420840 @ 1 225 1 840 1 420314 @ 1 225 1 314 1 409148 @ 1 160 1 1148 1 438182 @ 1 159 1 182 1 391833 @ 1 183 1 4833 1 429052 @ 1 134 1 52 1 349822 @ 1 186 1 2822 1 409119 @ 1 160 1 1119 186 164 55 215 315 255 476 266 558 380 637 344 339 380 578 297 475 170 "
hwi CloseStack
Errors
Returns HW_InvalidHandle if the image plane handle is invalid, or HW_InvalidArgs if the invalid point list is passed.