예제 #1
0
        private void AddDefaultKernels_Composite()
        {
            // Gaussian Subtract
            AddKernel(Convolutions.GetEdgeSet_GaussianSubtract());

            // MaxAbs Sobel
            foreach (int gain in new[] { 1, 2, 4 })
            {
                AddKernel(Convolutions.GetEdgeSet_Sobel(gain));
            }

            // Gausian then edge
            foreach (int size in new[] { 3, 5, 7 })
            {
                AddKernel(Convolutions.GetEdgeSet_GuassianThenEdge(size));
            }
        }