disp_obj ( Object : : 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) -> object
Image object to be displayed.

WindowHandle (input_control)
window -> integer
Window identifier.


Example
/* Output of a gray image: */
read_image(Image1,'affe') 
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_obj returns 2 (H_MSG_TRUE). Otherwise an exception handling is raised.


Parallelization Information

disp_obj is reentrant, local, and processed without parallelization.


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-2005 MVTec Software GmbH