disp_channelT_disp_channelDispChannelDispChannel (Operator)

Name

disp_channelT_disp_channelDispChannelDispChannel — Ausgeben von mehrkanaligen Bildern.

Signatur

disp_channel(MultichannelImage : : WindowHandle, Channel : )

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

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

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)

Beschreibung

disp_channeldisp_channelDispChannelDispChannelDispChannel gibt ein Bild in das Ausgabefenster aus. Es können auch mehrere Bilder gleichzeitig ausgegeben werden. Hierbei werden diese nacheinander gezeichnet. Falls die Definitionsbereiche der Bilder sich überlappen, ist nur das zuletzt gezeichnete Bild sichtbar. Der Parameter ChannelChannelChannelChannelchannel gibt die Nummer des Kanals an, der ausgegeben werden soll. Bei RGB-Bildern sind die drei Farbkanäle als Tupel anzugeben. Weitere Informationen sind bei disp_imagedisp_imageDispImageDispImageDispImage zu finden.

Ausführungsinformationen

Parameter

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

Auszugebende Mehrkanalbilder.

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

ChannelChannelChannelChannelchannel (input_control)  integer(-array) HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Nummer des Kanals oder die Nummern der RGB-Kanäle.

Defaultwert: 1

Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Beispiel (HDevelop)

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

Ergebnis

Falls die übergebenen Bilder definierte Werte enthalten und ein gültiger Ausgabemodus eingestellt ist, liefert disp_channeldisp_channelDispChannelDispChannelDispChannel den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

open_windowopen_windowOpenWindowOpenWindowOpenWindow, set_rgbset_rgbSetRgbSetRgbSetRgb, set_lutset_lutSetLutSetLutSetLut, set_hsiset_hsiSetHsiSetHsiSetHsi

Alternativen

disp_imagedisp_imageDispImageDispImageDispImage, disp_colordisp_colorDispColorDispColorDispColor

Siehe auch

open_windowopen_windowOpenWindowOpenWindowOpenWindow, reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDb, set_lutset_lutSetLutSetLutSetLut, dump_windowdump_windowDumpWindowDumpWindowDumpWindow

Modul

Foundation