Skip to content

disp_objDispObjDispObjdisp_objT_disp_obj🔗

説明🔗

disp_objDispObjDispObjdisp_objT_disp_obj — 画像オブジェクト(画像、領域、XLD)を表示する。

書式🔗

disp_obj( object Object, window WindowHandle )void DispObj( const HObject& Object, const HTuple& WindowHandle )static void HOperatorSet.DispObj( HObject objectVal, HTuple windowHandle )def disp_obj( object: HObject, window_handle: HHandle ) -> None

Herror T_disp_obj( const Hobject Object, const Htuple WindowHandle )

void HObject::DispObj( const HWindow& WindowHandle ) const

void HWindow::DispObj( const HObject& Object ) const

void HObject.DispObj( HWindow windowHandle )

void HWindow.DispObj( HObject objectVal )

説明🔗

disp_objDispObj は、オブジェクトの種類に応じて、そのオブジェクトを表示 します。disp_objDispObj は、1チャンネル画像に対する disp_imageDispImage 、 3チャンネル画像に対する disp_colorDispColor 、領域に対する disp_regionDispRegion、XLDに対する disp_xldDispXld と同等のオペレーターです。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

ObjectobjectValobject (input_object) object(-array) → objectHObjectHObjectHObjectHobject

表示する画像オブジェクト

WindowHandlewindowHandlewindow_handle (input_control) window → (handle)HTuple (HHandle)HWindow, HTuple (IntPtr)HHandleHtuple (handle)

ウインドウハンドル

例🔗

(HDevelop)


* Output of a gray image:
read_image(Image1,'monkey')
disp_obj(Image1,WindowHandle)
threshold(Image,Region,0,128)
disp_obj(Region,WindowHandle)
(C)
/* Output of a gray image: */
read_image(&Image,"monkey")\;
T_disp_obj(Image,WindowHandle)\;
threshold(Image,&Region,0.0,128.0)\;
T_disp_obj(Region,WindowHandle)\;

結果🔗

使用されたオブジェクトが有効で、正しい出力モードが設定されているならば、 disp_objDispObj は、値 2 (H_MSG_TRUE)を返します。そうでなければ、例外処理が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

open_windowOpenWindow, set_rgbSetRgb, set_lutSetLut, set_hsiSetHsi, scale_imageScaleImage, convert_image_typeConvertImageType, min_max_grayMinMaxGray

他の選択候補

disp_colorDispColor, disp_imageDispImage, disp_xldDispXld, disp_regionDispRegion

関連項目

open_windowOpenWindow, reset_obj_dbResetObjDb, set_paintSetPaint, set_lutSetLut, paint_grayPaintGray, scale_imageScaleImage, convert_image_typeConvertImageType, dump_windowDumpWindow

モジュール🔗

Foundation