code: public void createImages() {
  		image = UtilImageIO.loadImage(UtilIO.pathExample("standard/barbara.jpg"));
  
  		gray = ConvertBufferedImage.convertFromSingle(image, null, GrayU8.class);
  		derivX = GeneralizedImageOps.createSingleBand(GrayS16.class, gray.getWidth(), gray.getHeight());
  		derivY = GeneralizedImageOps.createSingleBand(GrayS16.class, gray.getWidth(), gray.getHeight());
  
  		GImageDerivativeOps.gradient(DerivativeType.SOBEL, gray, derivX, derivY, BorderType.EXTENDED);
  	}
docs: Load and generate images