fast::ImageSharpening class

Image sharpening by the unsharp masking method.

Base classes

class GaussianSmoothing
Smoothing by convolution with a Gaussian mask.

Public functions

auto create(float gain, float stddev, uchar maskSize) -> std::shared_ptr<ImageSharpening>
Create instance.
void setGain(float gain)
void loadAttributes() virtual

Protected functions

void execute() virtual

Protected variables

float m_gain

Function documentation

std::shared_ptr<ImageSharpening> fast::ImageSharpening::create(float gain, float stddev, uchar maskSize)

Create instance.

Parameters
gain
stddev
maskSize Size of convolution filter/mask. Must be odd. If 0 filter size is determined automatically from standard deviation
Returns instance