Math Utility functions
- desc: Math Utility functions
Evaluates the windows average of a given array based on the given window size
Normalizes an array so that its complete integral is 1. This is useful to obtain arrays that preserve the overall integral of a convolution.
Generate the gaussian function so that at the given 'size' it has value 'threshold' and make sure its integral is one.
Returns true if |a.x - b.x| < value && | a.y - b.y | < value