Herror ::disp_obj (
    Hobject Object,
    const HTuple &WindowHandle
)

Displays image objects (image, region, XLD).

::disp_obj displays objects depending of their kind. ::disp_obj is equivalent to ::disp_image for one channel images, equivalent to ::disp_color for three channel images, equivalent to ::disp_region for regions and equivalent to ::disp_xld for XLDs.


Parameters

Object (input_object)
object(-array) -> Hobject: HObject(Array)
Image object to be displayed.

WindowHandle (input_control)
window -> HTuple.long
Window identifier.


Example
/* Output of a gray image: */
read_image(&Image,"affe");
disp_obj(Image,WindowHandle);
threshold(Image,&Region,0.0,128.0);
disp_obj(Region,WindowHandle);

Result

If the used object is valid and a correct output mode is set, ::disp_obj returns H_MSG_TRUE. Otherwise an exception handling is raised.


Possible Predecessors

::open_window, ::set_rgb, ::set_lut, ::set_hsi, ::scale_image, ::convert_image_type, ::min_max_gray


Alternatives

::disp_color, ::disp_image, ::disp_xld, ::disp_region


See also

::open_window, ::open_textwindow, ::reset_obj_db, ::set_comprise, ::set_paint, ::set_lut, ::draw_lut, ::paint_gray, ::scale_image, ::convert_image_type, ::dump_window


Module

System



Copyright © 1996-2002 MVTec Software GmbH