code: public static BufferedImage disparity(ImageGray disparity, BufferedImage dst,
  										  int minDisparity, int maxDisparity, int invalidColor) {
  		if( dst == null )
  			dst = new BufferedImage(disparity.getWidth(),disparity.getHeight(),BufferedImage.TYPE_INT_RGB);
  
  		if (disparity.getDataType().isInteger()) {
  			return disparity((GrayI) disparity, dst, minDisparity, maxDisparity, invalidColor);
  		} else if (disparity instanceof GrayF32) {
  			return disparity((GrayF32) disparity, dst, minDisparity, maxDisparity, invalidColor);
  		} else {
  			throw new RuntimeException("Add support");
  		}
  	}
docs: <p>
  Renders a gray scale image using color values from cold to hot.
  </p>
  
  @param disparity    Input disparity image
  @param dst          Where the image is rendered into.  If null a new BufferedImage will be created and return.
  @param minDisparity Minimum disparity that can be computed
  @param maxDisparity Maximum disparity that can be computed
  @param invalidColor RGB value for invalid pixels.  Try 0xFF << 8 for green
  @return Rendered image.