<< PadImage IPD - Image Processing Design RGB2Ind >>

IPD - Image Processing Design >> IPD - Image Processing Design > RGB2Gray

RGB2Gray

wandelt RGB-Bild in Grauwertbild um

Aufruf

Bild = RGB2Gray(RGB);

Parameter

RGB

3D-Matrix vom Typ uint8, uint16, uint32 oder double

Bild

2D-Matrix vom gleichen Typ wie RGB

Beschreibung

Diese Funktion wandelt RGB-Bild in Grauwertbild um.

Beispiel

global IPD_PATH;

RGB = ReadImage(IPD_PATH + 'demos\teaset.png');

Bild = RGB2Gray(RGB);

figure(); ShowImage(Bild, 'Grauwertbild');

Siehe auch

<< PadImage IPD - Image Processing Design RGB2Ind >>