private static void ProcessConvolution(Bitmap image, string input) { var blur = new ImageBlur(1); var edges = new EdgeFinder(); var convolvedImage = edges.DetectEdges( blur.BlurImage(image) ); var output = input.Split('.'); convolvedImage.Save($"{output[0]}_convolved.{output[1]}"); }
public LaplacianOfGaussian(int kernelSize = 3) { edgeFinder = new EdgeFinder(); this.kernelSize = kernelSize; CalculateKernel(); }