public static < T extends ImageBase < T > > PyramidDiscrete < T > discreteGaussian ( int [ ] scaleFactors , double sigma , int radius , boolean saveOriginalReference , ImageType < T > imageType ) { Class < Kernel1D > kernelType = FactoryKernel . getKernelType ( imageType . getDataType ( ) , 1 ) ; Kernel1D kernel = FactoryKernelGaussian . gaussian ( kernelType , sigma , radius ) ; return new PyramidDiscreteSampleBlur <> ( kernel , sigma , imageType , saveOriginalReference , scaleFactors ) ; }
Creates an updater for discrete pyramids where a Gaussian is convolved across the input prior to sub - sampling .