• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Conclusions
2===========
3
4.. contents::
5   :local:
6   :depth: 2
7
8The Generic Image Library is designed with the following five goals in mind:
9
10Generality
11----------
12
13Abstracts image representations from algorithms on images.
14It allows for writing code once and have it work for any image type.
15
16Performance
17-----------
18
19Speed has been instrumental to the design of the library.
20The generic algorithms provided in the library are in many cases comparable
21in speed to hand-coding the algorithm for a specific image type.
22
23Flexibility
24-----------
25
26Compile-type parameter resolution results in faster code, but severely limits
27code flexibility. The library allows for any image parameter to be specified
28at run time, at a minor performance cost.
29
30Extensibility
31-------------
32
33Virtually every construct in GIL can be extended - new channel types,
34color spaces, layouts, iterators, locators, image views and images
35can be provided by modeling the corresponding GIL concepts.
36
37Compatibility
38-------------
39
40The library is designed as an STL complement.
41Generic STL algorithms can be used for pixel manipulation, and they are
42specifically targeted for optimization. The library works with existing
43raw pixel data from another image library.
44