public static < T extends ImageGray < T > , K extends Kernel1D > K gaussian1D ( Class < T > imageType , double sigma , int radius ) { boolean isFloat = GeneralizedImageOps . isFloatingPoint ( imageType ) ; int numBits = GeneralizedImageOps . getNumBits ( imageType ) ; if ( numBits < 32 ) numBits = 32 ; return gaussian ( 1 , isFloat , numBits , sigma , radius ) ; }
Creates a 1D Gaussian kernel of the specified type .