Zur Haupt­na­vi­ga­ti­on sprin­gen [Alt]+[0] Zum Sei­ten­in­halt sprin­gen [Alt]+[1]

Bild­for­ma­te – Lö­sung

(a) Por­ta­ble Bit­map (.pbm) für Schwarz­weiß – Bil­der

  1. Abbildung zur Lösung

  2. Eine Schild­krö­te

    Abbildung zur Lösung

  3. (In­di­vi­du­ell)

 

(b) Por­ta­ble Grey­map ( .pgm)

  1. Abbildung zur Lösung

    klei­ne Zah­len: dunkle­Pi­xel

    große Zah­len: helle Pixel

    (b) In­di­vi­du­ell

  2. Abbildung zur Lösung

    grey­map­Bei­spiel.pgm
    Bild­quel­le: M. Klein - ZPG IMP

    1. Spei­cher­platz: Die Bild­da­ten be­ste­hen aus 34 • 29 = 986 Pixel. Je Pixel wird 1 Byte be­nö­tigt, da als Grau­wert alle Zah­len von 0 bis 255 mög­lich sind. Das sind also 864 Byte.

      Hin­weis: Die SuS wer­den be­mer­ken, dass dies nicht mit der tat­säch­li­chen Größe über­ein­stimmt. Das liegt daran, dass die Datei ASCII-co­diert ge­spei­chert wurde statt Binär-co­diert. Im ASCII-For­mat wird jedes Pixel mit 3 Stel­len und 1 Leer­zei­chen dar­ge­stellt. Das sind 864 Pixel, also 864 • 4 Byte = 3456 Byte (ins­ge­samt 3469 Byte). Spei­chert man die­sel­be Datei binär-co­diert, än­dert sich der Spei­cher­platz auf die oben be­rech­ne­te Größe von ca. 900 Byte.

    2. Wie (a) außer: Die An­zahl der mög­li­chen Grau­stu­fen be­trägt höchs­tens 16 (16 = 24), das sind 4 Bit .

      Die Bild­da­ten be­ste­hen aus 34 • 29 = 986 Pixel. Je Pixel wer­den 4 Bit be­nö­tigt, da als Grau­wert alle Zah­len von 0 bis 15 mög­lich sind. Das sind also 864 • 4 = 3456 Bit = 432 Byte.

  3. (In­di­vi­du­ell)

 

(c) Por­ta­ble Pix­map ( .ppm)

    1. In­di­vi­du­ell

    2. Abbildung zur Lösung

  1. (In­di­vi­du­ell)

    1. 256 • 256 • 256 = 16.777.216 d.h. ca. 16,8 Mio Far­ben

    2. Spei­cher­platz: 8Bit + 8Bit + 8Bit = 24 Bit

  2. #BCE12B:

    He­xa­de­zi­mal: B C E 1 2 B
    Binär: 1011 1100 1110 0001 0010 1011
    Farb­wert: 188 225 43
  3. Bild­for­ma­te sind z.B.: JPG, BMP, RAW, GIF, PNG, SVG

    1. Das Bild ist trotz Ver­grö­ße­rung immer scharf.

    2. (In­di­vi­du­ell)

 

 

Bild­for­ma­te – Lö­sung: Her­un­ter­la­den [odt][112 KB]

Bild­for­ma­te – Lö­sung: Her­un­ter­la­den [pdf][126 KB]

 

Wei­ter zu Da­ten­kom­pres­si­on