Math guide
Mathematical guide to the parameters
This guide explains what each Lulumoy Studio operation computes and how each parameter affects it. The formulas follow the definitions of the OpenCV functions the program uses. It also opens from the Help button of every parameter dialog and with F1.
Notation
I(x, y) is the value of the pixel in column x and row y, with the origin at the top-left corner; I′ is the result. W×H is the image size and M the maximum value of its bit depth (255 for 8 bits, 65535 for 16 bits). ∗ denotes convolution. Unless stated otherwise, colour images are processed channel by channel.
Basics
Geometry
Rotate
Flip
Crop
Affine transform (3 points)
Perspective transform (4 points)
Interpolation and borders
Format
Filters
Gaussian blur
Box blur
Median blur
Bilateral filter
Sharpen
Canny edges
Threshold
Brightness / contrast
Morphology
Vectorization
The formulas are written in MathML, which current browsers display without plug-ins. Each topic ends with references to the OpenCV documentation and to the original works.