Jump to content

Fractals/Computer graphic techniques/2D

From Wikibooks, open books for an open world

Direct links

Software

[edit | edit source]

All tasks (image processing[1]) can be done using:

One can use free graphic libraries:

Targets in graphics processing

[edit | edit source]

Here are 3 targets / tasks:

  • graphic file (saving/ loading image)
  • memory array (processing image)
  • screen pixels (displaying image)


Memory array

[edit | edit source]

Image in memory is a matrix:

  • A 24-bit color image is an (Width x Height x 3) matrix.
  • Gray-level and black-and-white images are of size (Width x Height).

The color depth of the image:

  • 8-bit for gray
  • 24 or 32-bit for color,
  • 1-bit for black and white.

Screen pixels

[edit | edit source]
glxinfo | grep OpenGL
glxinfo | grep "direct rendering"

Direct Rendering Infrastructure (DRI2)[10]

References

[edit | edit source]
  1. IPOL Journal · Image Processing On Line
  2. ImageMagick image processing libraries
  3. GEGL (Generic Graphics Library)
  4. http://openil.sourceforge.net/
  5. http://freeimage.sourceforge.net/
  6. GD Graphics Library
  7. GraphicsMagick
  8. OpenCv
  9. OpenImageIO
  10. w:Direct Rendering Infrastructure (DRI)