ClassesClassesClassesClasses | | | | Operators

disp_channeldisp_channelDispChanneldisp_channelDispChannelDispChannel (Operator)

Name

disp_channeldisp_channelDispChanneldisp_channelDispChannelDispChannel — Displays images with several channels.

Signature

disp_channel(MultichannelImage : : WindowHandle, Channel : )

Herror disp_channel(const Hobject MultichannelImage, const Hlong WindowHandle, const Hlong Channel)

Herror T_disp_channel(const Hobject MultichannelImage, const Htuple WindowHandle, const Htuple Channel)

Herror disp_channel(Hobject MultichannelImage, const HTuple& WindowHandle, const HTuple& Channel)

void HImage::DispChannel(const HTuple& WindowHandle, const HTuple& Channel) const

void HImageArray::DispChannel(const HTuple& WindowHandle, const HTuple& Channel) const

void DispChannel(const HObject& MultichannelImage, const HTuple& WindowHandle, const HTuple& Channel)

void HImage::DispChannel(const HWindow& WindowHandle, const HTuple& Channel) const

void HImage::DispChannel(const HWindow& WindowHandle, Hlong Channel) const

void HWindow::DispChannel(const HImage& MultichannelImage, const HTuple& Channel) const

void HWindow::DispChannel(const HImage& MultichannelImage, Hlong Channel) const

void HOperatorSetX.DispChannel(
[in] IHUntypedObjectX* MultichannelImage, [in] VARIANT WindowHandle, [in] VARIANT Channel)

void HImageX.DispChannel(
[in] IHWindowX* WindowHandle, [in] VARIANT Channel)

void HWindowX.DispChannel(
[in] IHImageX* MultichannelImage, [in] VARIANT Channel)

static void HOperatorSet.DispChannel(HObject multichannelImage, HTuple windowHandle, HTuple channel)

void HImage.DispChannel(HWindow windowHandle, HTuple channel)

void HImage.DispChannel(HWindow windowHandle, int channel)

void HWindow.DispChannel(HImage multichannelImage, HTuple channel)

void HWindow.DispChannel(HImage multichannelImage, int channel)

Description

disp_channeldisp_channelDispChanneldisp_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 ChannelChannelChannelChannelChannelchannel 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_imageDispImagedisp_imageDispImageDispImage.

Parallelization

Parameters

MultichannelImageMultichannelImageMultichannelImageMultichannelImageMultichannelImagemultichannelImage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Multichannel images to be displayed.

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Window identifier.

ChannelChannelChannelChannelChannelchannel (input_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

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

Example (HDevelop)

read_image(Image,'patras')
count_channels (Image, Channels)
for I := 1 to Channels by 1
    disp_channel (Image, WindowHandle, I)
endfor

Example (C)

read_image(Image,"patras") ;
count_channels (Image, &Channels)
for (i = 1; i <= Channels; i++) {
  disp_channel (Image, WindowHandle, i) ;
}

Example (HDevelop)

read_image(Image,'patras')
count_channels (Image, Channels)
for I := 1 to Channels by 1
    disp_channel (Image, WindowHandle, I)
endfor

Example (HDevelop)

read_image(Image,'patras')
count_channels (Image, Channels)
for I := 1 to Channels by 1
    disp_channel (Image, WindowHandle, I)
endfor

Example (HDevelop)

read_image(Image,'patras')
count_channels (Image, Channels)
for I := 1 to Channels by 1
    disp_channel (Image, WindowHandle, I)
endfor

Example (HDevelop)

read_image(Image,'patras')
count_channels (Image, Channels)
for I := 1 to Channels by 1
    disp_channel (Image, WindowHandle, I)
endfor

Result

If the used images contain valid values and a correct output mode is set, disp_channeldisp_channelDispChanneldisp_channelDispChannelDispChannel returns 2 (H_MSG_TRUE). Otherwise an exception is raised.

Possible Predecessors

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, set_rgbset_rgbSetRgbset_rgbSetRgbSetRgb, set_lutset_lutSetLutset_lutSetLutSetLut, set_hsiset_hsiSetHsiset_hsiSetHsiSetHsi

Alternatives

disp_imagedisp_imageDispImagedisp_imageDispImageDispImage, disp_colordisp_colorDispColordisp_colorDispColorDispColor

See also

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow, reset_obj_dbreset_obj_dbResetObjDbreset_obj_dbResetObjDbResetObjDb, set_lutset_lutSetLutset_lutSetLutSetLut, dump_windowdump_windowDumpWindowdump_windowDumpWindowDumpWindow

Module

Foundation


ClassesClassesClassesClasses | | | | Operators