/** * Creates a circular kernel with width {@code 2*radius + 1}. * The key element is at position {@code x=radius, y=radius}. * * @param radius the radius of the circle expressed in pixels * @param type a {@link ValueType} constant * @param centreValue the value to assign to the kernel centre (key element) * * @return a new {@code KernelJAI} object * * @deprecated Please use {@link #createCircle(int, ValueType)} instead and * set the centre element value on the returned kernel if that is * required. */ public static KernelJAI createCircle(int radius, ValueType type, float centreValue) { KernelJAI kernel = createCircle(radius, type); return KernelUtil.setElement(kernel, radius, radius, centreValue); }
return createCircle(outerRadius, type);
return createCircle(outerRadius, type, centreValue);
return createCircle(outerRadius, type, centreValue);