|
ddt
0.1
|
#include "ddt/imageProc.hpp"Functions | |
| bool | RotateCplImage (cpl_image *image, int rotate) |
| bool | FlipCplImage (cpl_image *image, int angle) |
| bool | ThresholdCplImage (cpl_image *image, double lower_bound, double higher_bound, double low_cut_value, double high_cut_value) |
| bool FlipCplImage | ( | cpl_image * | image, |
| int | angle | ||
| ) |
Flip an image on mirror line.
| image | CPL image object |
| angle | Flip the image, using theta as multiples of (PI/4) 0: flip around the horizontal 1: flip around y=x 2: flip around the vertical 3: flip around y=-x |
| bool RotateCplImage | ( | cpl_image * | image, |
| int | rotate | ||
| ) |
This file is part of the DDT Image Handling Library and provides functions to process CPL images. Rotate an image.
| image | CPL image object |
| rotate | Rotate the image by multiples of 90 deg -3: 270 degrees counterclockwise -2: 180 degrees counterclockwise -1: 90 degrees counterclockwise 0: do not turn +1: 90 degrees clockwise +2: 180 degrees clockwise +3: 270 degrees clockwise |
| bool ThresholdCplImage | ( | cpl_image * | image, |
| double | lower_bound, | ||
| double | higher_bound, | ||
| double | low_cut_value, | ||
| double | high_cut_value | ||
| ) |
Threshold an image to an interval.
| image | CPL image object |
| lower_bound | lower pixel value threshold |
| higher_bound | higher pixel value threshold |
| low_cut_value | value to assign to pixels below lower threshold |
| high_cut_value | value to assign to pixels above higher threshold |