disp_objT_disp_objDispObjDispObj (Operator)
Name
disp_objT_disp_objDispObjDispObj
— Displays image objects (image, region, XLD).
Signature
Description
disp_objdisp_objDispObjDispObjDispObj
displays objects depending of their kind.
disp_objdisp_objDispObjDispObjDispObj
is equivalent to disp_imagedisp_imageDispImageDispImageDispImage
for one channel images, equivalent to disp_colordisp_colorDispColorDispColorDispColor
for three channel images, equivalent to disp_regiondisp_regionDispRegionDispRegionDispRegion
for regions and equivalent to disp_xlddisp_xldDispXldDispXldDispXld
for XLDs.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ObjectObjectObjectObjectobjectVal
(input_object) object(-array) →
objectHObjectHObjectHobject
Image object to be displayed.
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
Example (HDevelop)
* Output of a gray image:
read_image(Image1,'monkey')
disp_obj(Image1,WindowHandle)
threshold(Image,Region,0,128)
disp_obj(Region,WindowHandle)
Example (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);
Example (HDevelop)
* Output of a gray image:
read_image(Image1,'monkey')
disp_obj(Image1,WindowHandle)
threshold(Image,Region,0,128)
disp_obj(Region,WindowHandle)
Example (HDevelop)
* Output of a gray image:
read_image(Image1,'monkey')
disp_obj(Image1,WindowHandle)
threshold(Image,Region,0,128)
disp_obj(Region,WindowHandle)
Example (HDevelop)
* Output of a gray image:
read_image(Image1,'monkey')
disp_obj(Image1,WindowHandle)
threshold(Image,Region,0,128)
disp_obj(Region,WindowHandle)
Result
If the used object is valid and a correct
output mode is set, disp_objdisp_objDispObjDispObjDispObj
returns 2 (H_MSG_TRUE). Otherwise an
exception is raised.
Possible Predecessors
open_windowopen_windowOpenWindowOpenWindowOpenWindow
,
set_rgbset_rgbSetRgbSetRgbSetRgb
,
set_lutset_lutSetLutSetLutSetLut
,
set_hsiset_hsiSetHsiSetHsiSetHsi
,
scale_imagescale_imageScaleImageScaleImageScaleImage
,
convert_image_typeconvert_image_typeConvertImageTypeConvertImageTypeConvertImageType
,
min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGray
Alternatives
disp_colordisp_colorDispColorDispColorDispColor
,
disp_imagedisp_imageDispImageDispImageDispImage
,
disp_xlddisp_xldDispXldDispXldDispXld
,
disp_regiondisp_regionDispRegionDispRegionDispRegion
See also
open_windowopen_windowOpenWindowOpenWindowOpenWindow
,
reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDb
,
set_paintset_paintSetPaintSetPaintSetPaint
,
set_lutset_lutSetLutSetLutSetLut
,
paint_graypaint_grayPaintGrayPaintGrayPaintGray
,
scale_imagescale_imageScaleImageScaleImageScaleImage
,
convert_image_typeconvert_image_typeConvertImageTypeConvertImageTypeConvertImageType
,
dump_windowdump_windowDumpWindowDumpWindowDumpWindow
Module
Foundation