2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-19 04:12:11 +00:00
Files
gil/example/convolution.md
Nicolas Herry 0b24f4cdbf Ensure all examples build without error (#628)
* Added all missing examples, dodgy Jamfile still
* Fixed attributions and Jamfile indent
* One readme per example: synopsis, build and exec reqs
* Cleaned up example/convolve2d.cpp
* Added example target to root Jamfile

Closes #436
2021-11-10 18:21:02 +01:00

694 B

Convolution

Convolution capabilities in GIL are demonstrated by the program convolution, compiled from the sources example/convolution.cpp.

Synopsis

convolution

The program doesn't take any argument on the command line.

convolution expects to find an image called test.jpg in the current directory, and produces two images in return, where the filters have been applied: out-convolution.jpg and out-convolution2.jpg

Specific requirements

Build requirements

  • A C++ compiler compliant with C++11 or above
  • The JPEG library installed and configured.

Execution requirements

  • convolution expects to find an image called test.jpg in the current directory.