Exemple #1
0
        private double SmoothAndGetValueAtPoint(double x, double y, HImage image, int kernelSize = 3, double trimPercent = 0.2)
        {
            HTuple grayValue;

            _halconScripts.FilterAndGetPointValue(image, kernelSize, (int)x, (int)y, trimPercent, out grayValue);
            return(grayValue);
        }