code: public static <T extends ImageGray<T>, G extends GradientValue>
  	SparseImageGradient<T,G> createTwo0( Class<T> imageType , ImageBorder<T> border )
  	{
  		if( imageType == GrayF32.class) {
  			return (SparseImageGradient)new GradientSparseTwo0_F32((ImageBorder_F32)border);
  		} else if( imageType == GrayU8.class ){
  			return (SparseImageGradient)new GradientSparseTwo0_U8((ImageBorder_S32)border);
  		} else {
  			throw new IllegalArgumentException("Unsupported image type "+imageType.getSimpleName());
  		}
  	}
docs: Creates a sparse two-0 gradient operator.
  
  @see boofcv.alg.filter.derivative.GradientTwo0
  
  @param imageType The type of image which is to be processed.
  @param border How the border should be handled.  If null then the borders can't be processed.
  @return Sparse gradient.