#include <DLSharpen.h>
Static Public Member Functions | |
static DLImage | dlSharpen (const DLImage &in, int numberOfTimes) |
Definition at line 13 of file DLSharpen.h.
Sharpen an image. This algorithm is implemented as a static function, so no object of class DLSharpen needs to be instantiated. See below for a usage example:
DLImage i ("test.tif"); DLImage sharpenedImage = DLSharpen::dlSharpen(i);
This function (currently) requires a color image as input. At each application of the sharpening operation, a 5x5 sharpening filter is convolved with the image:
in | DLImage to sharpen | |
numberOfTimes | number of times to apply sharpening operation |