public static < T extends KernelBase > T random ( Class < ? > type , int radius , int min , int max , Random rand ) { int width = radius * 2 + 1 ; return random ( type , width , radius , min , max , rand ) ; }
Creates a random kernel of the specified type where each element is drawn from an uniform distribution .