HALCON Reference Manual 10.0.2
Name
disp_channeldisp_channeldisp_channelDispChannelDispChannel — Displays images with several channels.
disp_channeldisp_channeldisp_channelDispChannelDispChannel displays an image in the output window.
It is possible to display several images with one call. In this case the
images are displayed one after another. If the definition domains of the
images overlap only the last image is visible. The parameter
ChannelChannelChannelChannelchannel defines the number of the channel that is displayed.
For RGB-images the three color channels have to be used within a tuple
parameter. For more information see disp_imagedisp_imagedisp_imageDispImageDispImage.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
Multichannel images to be displayed.
Number of channel or the numbers of the RGB-channels
Default value: 1
List of values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
* Transformation from rgb to gray
read_image(Image,'patras')
disp_color(Image,WindowHandle)
rgb1_to_gray(Image,GrayImage)
disp_image(GrayImage,WindowHandle)
/* Transformation from rgb to gray */
read_image(Image,"patras") ;
disp_color(Image,WindowHandle) ;
rgb1_to_gray(Image,&GrayImage) ;
disp_image(GrayImage,WindowHandle);
* Transformation from rgb to gray
read_image(Image,'patras')
disp_color(Image,WindowHandle)
rgb1_to_gray(Image,GrayImage)
disp_image(GrayImage,WindowHandle)
* Transformation from rgb to gray
read_image(Image,'patras')
disp_color(Image,WindowHandle)
rgb1_to_gray(Image,GrayImage)
disp_image(GrayImage,WindowHandle)
* Transformation from rgb to gray
read_image(Image,'patras')
disp_color(Image,WindowHandle)
rgb1_to_gray(Image,GrayImage)
disp_image(GrayImage,WindowHandle)
If the used images contain valid values and a correct
output mode is set, disp_channeldisp_channeldisp_channelDispChannelDispChannel returns 2 (H_MSG_TRUE). Otherwise an
exception is raised.
open_windowopen_windowopen_windowOpenWindowOpenWindow,
set_rgbset_rgbset_rgbSetRgbSetRgb,
set_lutset_lutset_lutSetLutSetLut,
set_hsiset_hsiset_hsiSetHsiSetHsi
disp_imagedisp_imagedisp_imageDispImageDispImage,
disp_colordisp_colordisp_colorDispColorDispColor
open_windowopen_windowopen_windowOpenWindowOpenWindow,
open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow,
reset_obj_dbreset_obj_dbreset_obj_dbResetObjDbResetObjDb,
set_lutset_lutset_lutSetLutSetLut,
draw_lutdraw_lutdraw_lutDrawLutDrawLut,
dump_windowdump_windowdump_windowDumpWindowDumpWindow
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |