disp_objT_disp_objDispObjDispObjdisp_obj (Operator)
Name
disp_objT_disp_objDispObjDispObjdisp_obj
— Displays image objects (image, region, XLD).
Signature
Description
disp_objdisp_objDispObjDispObjDispObjdisp_obj
displays objects depending of their kind.
disp_objdisp_objDispObjDispObjDispObjdisp_obj
is equivalent to disp_imagedisp_imageDispImageDispImageDispImagedisp_image
for one channel images, equivalent to disp_colordisp_colorDispColorDispColorDispColordisp_color
for three channel images, equivalent to disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
for regions and equivalent to disp_xlddisp_xldDispXldDispXldDispXlddisp_xld
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
ObjectObjectObjectObjectobjectValobject
(input_object) object(-array) →
objectHObjectHObjectHObjectHobject
Image object to be displayed.
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (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_objDispObjDispObjDispObjdisp_obj
returns TRUE. Otherwise an
exception is raised.
Possible Predecessors
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
,
set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb
,
set_lutset_lutSetLutSetLutSetLutset_lut
,
set_hsiset_hsiSetHsiSetHsiSetHsiset_hsi
,
scale_imagescale_imageScaleImageScaleImageScaleImagescale_image
,
convert_image_typeconvert_image_typeConvertImageTypeConvertImageTypeConvertImageTypeconvert_image_type
,
min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGraymin_max_gray
Alternatives
disp_colordisp_colorDispColorDispColorDispColordisp_color
,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
,
disp_xlddisp_xldDispXldDispXldDispXlddisp_xld
,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
See also
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
,
reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDbreset_obj_db
,
set_paintset_paintSetPaintSetPaintSetPaintset_paint
,
set_lutset_lutSetLutSetLutSetLutset_lut
,
paint_graypaint_grayPaintGrayPaintGrayPaintGraypaint_gray
,
scale_imagescale_imageScaleImageScaleImageScaleImagescale_image
,
convert_image_typeconvert_image_typeConvertImageTypeConvertImageTypeConvertImageTypeconvert_image_type
,
dump_windowdump_windowDumpWindowDumpWindowDumpWindowdump_window
Module
Foundation