A toggle whether to perform the final "eye candy" process (true) or to skip it (false).
A toggle whether to perform the initial lighting correction process (true) or to skip it (false).
A two-dimensional integer array storing the 8-bit grayscale pixel values of the image.
Returns the function value of the polynomial surface at the coordinate (x,y)
given the surface function f(x,y) = a + b*x + c*y + d*x^2 + ...
If true, isolated objects will be pruned.
The longest length in which pruning will occur.