unproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesunproject_coordinatesT_unproject_coordinates
説明
unproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesunproject_coordinatesT_unproject_coordinates — 3 次元プロットウインドウで点の画像座標を計算する。
書式
unproject_coordinates( image Image, window WindowHandle, integer Row, integer Column, out integer ImageRow, out integer ImageColumn, out real Height )void UnprojectCoordinates( const HObject& Image, const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, HTuple* ImageRow, HTuple* ImageColumn, HTuple* Height )static void HOperatorSet.UnprojectCoordinates( HObject image, HTuple windowHandle, HTuple row, HTuple column, out HTuple imageRow, out HTuple imageColumn, out HTuple height )def unproject_coordinates( image: HObject, window_handle: HHandle, row: Union[float, int], column: Union[float, int] ) -> Tuple[int, int, Union[int, float]]
Herror T_unproject_coordinates( const Hobject Image, const Htuple WindowHandle, const Htuple Row, const Htuple Column, Htuple* ImageRow, Htuple* ImageColumn, Htuple* Height )
void HImage::UnprojectCoordinates( const HWindow& WindowHandle, const HTuple& Row, const HTuple& Column, Hlong* ImageRow, Hlong* ImageColumn, HTuple* Height ) const
void HImage::UnprojectCoordinates( const HWindow& WindowHandle, double Row, double Column, Hlong* ImageRow, Hlong* ImageColumn, Hlong* Height ) const
void HWindow::UnprojectCoordinates( const HImage& Image, const HTuple& Row, const HTuple& Column, Hlong* ImageRow, Hlong* ImageColumn, HTuple* Height ) const
void HWindow::UnprojectCoordinates( const HImage& Image, double Row, double Column, Hlong* ImageRow, Hlong* ImageColumn, Hlong* Height ) const
void HImage.UnprojectCoordinates( HWindow windowHandle, HTuple row, HTuple column, out int imageRow, out int imageColumn, out HTuple height )
void HImage.UnprojectCoordinates( HWindow windowHandle, double row, double column, out int imageRow, out int imageColumn, out int height )
void HWindow.UnprojectCoordinates( HImage image, HTuple row, HTuple column, out int imageRow, out int imageColumn, out HTuple height )
void HWindow.UnprojectCoordinates( HImage image, double row, double column, out int imageRow, out int imageColumn, out int height )
説明
Imageimageimage が 3D プロットで WindowHandlewindowHandlewindow_handle に表示される
(つまり、'3d_plot'"3d_plot" が set_paintSetPaint で設定される)
と、unproject_coordinatesUnprojectCoordinates は、ウィンドウ座標内の与えられた
点 Rowrowrow、Columncolumncolumn の画像座標 ImageRowimageRowimage_row、
ImageColumnimageColumnimage_column、および Heightheightheight を計算します。
ウインドウ座標 Rowrowrow、Columncolumncolumn は現在の画像部分に関
して提供されなければなりません。結果として、この座標はサブピクセル
座標です。現在の画像部分(row1,col1,row2,col2)である場合、左上隅
が座標(row1 - 0.5, col1 - 0.5)に対応します。これに応じて、右下隅
は座標(row2 - 0.5, col2 - 0.5)と対応します。
get_mposition_sub_pixGetMpositionSubPix または get_mbutton_sub_pixGetMbuttonSubPix
を使用し、これらの座標を直接取得することができます。
set_window_paramSetWindowParam を使って、ウィンドウパラメーター
'save_depth_buffer'"save_depth_buffer" または 'interactive_plot'"interactive_plot"
の 1 つを 'true'"true" に設定する必要があります。. そうでなけれ
ば、unproject_coordinatesUnprojectCoordinates を使用することはできません。
実行情報
実行情報
パラメーター
Imageimageimage (input_object) singlechannelimage → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)HImage (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)Hobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)
表示された画像
WindowHandlewindowHandlewindow_handle (input_control) window → (handle)HTuple (HHandle)HWindow, HTuple (IntPtr)HHandleHtuple (handle)
ウインドウハンドル
Rowrowrow (input_control) integer → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Union[float, int]Htuple (double / Hlong)
ウインドウの行座標
Columncolumncolumn (input_control) integer → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Union[float, int]Htuple (double / Hlong)
ウインドウの列座標
ImageRowimageRowimage_row (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
画像の行座標
ImageColumnimageColumnimage_column (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
画像の列座標
Heightheightheight (output_control) real → (integer / real)HTuple (Hlong / double)HTuple (int / long / double)Union[int, float]Htuple (Hlong / double)
高さ
他のオペレーターとの組み合わせ
組み合わせ
前処理の候補
get_mbutton_sub_pixGetMbuttonSubPix, get_mposition_sub_pixGetMpositionSubPix, disp_imageDispImage
関連項目
disp_objDispObj, update_window_poseUpdateWindowPose, set_paintSetPaint
モジュール
Foundation