Check if kernel is quadratic.
Opened this issue · 0 comments
github-actions commented
Check if kernel is quadratic.
photogrammetry/src/glsl-shader.js
Line 721 in 4206b98
* @returns {GlslVector4}
*/
applyFilter(kernel, normalize = false) {
const kernelSize = kernel.length;
// TODO Check if kernel is quadratic.
let filterDeclaration = "";
if (normalize) {
7e1e74c2f16ee301406fd43d1ed5aacb85166734