Displays images with several channels.
disp_grey displays an image in the current 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 Channel 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_image.
MultichannelImage (input_object) |
image(-array) -> object |
multichannel images to be displayed. |
Channel (input_control) |
integer(-array) -> integer |
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 |
/* Tranformation from rgb to grey */ read_picture(:Image:'tiff',0,0,'patras':Channels) > disp_color(Image:::) > rgb1_to_grey(Image:GreyImage::) > disp_grey(GreyImage,1).
If a window is activated, the used images contain valid values and a correct output mode is set, disp_grey returns TRUE. Otherwise an exception is raised.
open_window, set_rgb, set_lut, set_hsi, set_window
open_window, open_textwindow, init_horus, set_lut, draw_lut, dump_pwindow