Hallo,
ich stecke bei folgender Aufgabe fest und würde mich sehr freuen, wenn mir jemand weiterhelfen kann:
ich soll eine Funktion schreiben, die ein Bild als dreidimensionales Array übergeben bekommt (der Form [Zeile, Spalte, RGB] mit Abmessungen (ymax, xmax, 3) und dem Elementtyp uint8).
Dieses Bild soll dann in eine Liste von Pixeln umgewandelt werden, dabei soll jedes Pixel als (R, G, B, X, Y)-Tupel dargestellt werden und die Pixel sollen zeilenweise in der zurückgegebenen Liste liegen.
Ich bedanke mich schonmal im voraus für jede Hilfe,
viele Grüße, bamu