public Opening(byte[,] input, float[,] kernel, MorphologicalFilter.UseMask E) { this.Input = input; this.Kernel = kernel; this.StartEnd = kernel.GetLength(0) / 2; // Adjust for all structuring element sizes this._e = E; }
public Reconstruction(byte[,] input, float[,] Dkernel, float[,] Ekernel, MorphologicalFilter.UseMask E) { this.Input = input; this.Dkernel = Dkernel; this.Ekernel = Ekernel; this.DstartEnd = Dkernel.GetLength(0) / 2; // Adjust for all structuring element sizes this._e = E; }