disp_channelT_disp_channelDispChannelDispChanneldisp_channel (Operator)

Name

disp_channelT_disp_channelDispChannelDispChanneldisp_channel — 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)

def disp_channel(multichannel_image: HObject, window_handle: HHandle, channel: MaybeSequence[int]) -> None

Beschreibung

disp_channeldisp_channelDispChannelDispChannelDispChanneldisp_channel 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 ChannelChannelChannelChannelchannelchannel 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_imageDispImageDispImageDispImagedisp_image zu finden.

Ausführungsinformationen

Parameter

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

Auszugebende Mehrkanalbilder.

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

ChannelChannelChannelChannelchannelchannel (input_control)  integer(-array) HTupleMaybeSequence[int]HTupleHtuple (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_channelDispChannelDispChannelDispChanneldisp_channel den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb, set_lutset_lutSetLutSetLutSetLutset_lut, set_hsiset_hsiSetHsiSetHsiSetHsiset_hsi

Alternativen

disp_imagedisp_imageDispImageDispImageDispImagedisp_image, disp_colordisp_colorDispColorDispColorDispColordisp_color

Siehe auch

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDbreset_obj_db, set_lutset_lutSetLutSetLutSetLutset_lut, dump_windowdump_windowDumpWindowDumpWindowDumpWindowdump_window

Modul

Foundation