]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/gil/example/README.txt
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / gil / example / README.txt
CommitLineData
7c673cae
FG
1Copyright 2008 Lubomir Bourdev and Hailin Jin
2
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6
7This directory contains GIL sample code.
8
9We provide a Makefile that compiles all examples. You will need to change it to specify the correct path to boost, gil, and libjpeg. Some of the examples include the GIL numeric extension, which you can get from:
10http://opensource.adobe.com/gil/download.html
11
12The makefile generates a separate executable for each test file. Each executable generates its output as "out-<example_name>.jpg". For example, the resize.cpp example generates the image out-resize.jpg
13
14The following examples are included:
15
161. resize.cpp
17 Scales an image using bilinear or nearest-neighbor resampling
18
192. affine.cpp
20 Performs an arbitrary affine transformation on the image
21
223. convolution.cpp
23 Convolves the image with a Gaussian kernel
24
254. mandelbrot.cpp
26 Creates a synthetic image defining the Mandelbrot set
27
285. interleaved_ptr.cpp
29 Illustrates how to create a custom pixel reference and iterator.
30 Creates a GIL image view over user-supplied data without the need to cast to GIL pixel type
31
326. x_gradient.cpp
33 Horizontal gradient, from the tutorial
34
357. histogram.cpp
36 Algorithm to compute the histogram of an image
37
388. packed_pixel.cpp
39 Illustrates how to create a custom pixel model - a pixel whose channel size is not divisible by bytes
40
419. dynamic_image.cpp
42 Example of using images whose type is instantiated at run time
43
44