disp_channel
— Displays images with several channels.
disp_channel(MultichannelImage : : WindowHandle, Channel : )
disp_channel
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
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) (multichannel-)image(-array) →
object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Multichannel images to be displayed.
WindowHandle
(input_control) window →
(handle)
Window handle.
Channel
(input_control) integer(-array) →
(integer)
Number of channel or the numbers of the RGB-channels
Default: 1
Suggested values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
read_image(Image,'patras') count_channels (Image, Channels) for I := 1 to Channels by 1 disp_channel (Image, WindowHandle, I) endfor
If the used images contain valid values and a correct
output mode is set, disp_channel
returns 2 (
H_MSG_TRUE)
. Otherwise an
exception is raised.
open_window
,
set_rgb
,
set_lut
,
set_hsi
open_window
,
reset_obj_db
,
set_lut
,
dump_window
Foundation