@@ -0,0 +1,978 @@
+%0Apackage net.imagej.ops.convolve.kernel.create;%0A%0Aimport org.scijava.Priority;%0Aimport org.scijava.plugin.Plugin;%0A%0Aimport net.imagej.ops.Op;%0Aimport net.imagej.ops.Ops;%0Aimport net.imglib2.img.Img;%0Aimport net.imglib2.type.numeric.ComplexType;%0A%0A/**%0A * Convenience op for generating a symmetric Gaussian kernel%0A * %0A * @author bnorthan%0A * @param %3CT%3E%0A */%0A@Plugin(type = Op.class, name = Ops.GaussKernel.NAME,%0A%09priority = Priority.HIGH_PRIORITY)%0Apublic class CreateSymmetricGaussianKernel%3CT extends ComplexType%3CT%3E%3E extends%0A%09AbstractCreateSymmetricKernel%3CT%3E implements Ops.GaussKernel%0A%7B%0A%0A%09public void run() %7B%0A%0A%09%09double%5B%5D sigmas = new double%5BnumDimensions%5D;%0A%0A%09%09for (int d = 0; d %3C numDimensions; d++) %7B%0A%09%09%09sigmas%5Bd%5D = sigma;%0A%09%09%7D%0A%0A%09%09if (calibration == null) %7B%0A%09%09%09calibration = new double%5BnumDimensions%5D;%0A%0A%09%09%09for (int i = 0; i %3C numDimensions; i++) %7B%0A%09%09%09%09calibration%5Bi%5D = 1.0;%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09output =%0A%09%09%09(Img%3CT%3E) ops.run(CreateGaussianKernel.class, outType, fac, sigmas,%0A%09%09%09%09calibration);%0A%09%7D%0A%7D%0A

Add SymmetricGaussianKernel