docs: public static BufferedImage regionsColor( GrayS32 pixelToRegion ,
  											  FastQueue<float[]> segmentColor ,
  											  BufferedImage output ) {
  		if( output == null )
  			output = new BufferedImage(pixelToRegion.width,pixelToRegion.height,BufferedImage.TYPE_INT_RGB);
  
  		for( int y = 0; y < pixelToRegion.height; y++ ) {
  			for( int x = 0; x < pixelToRegion.width; x++ ) {
  				int index = pixelToRegion.unsafe_get(x,y);
  				float []cv = segmentColor.get(index);
  
  				int r,g,b;
  
  				if( cv.length == 3 ) {
  					r = (int)cv[0];
  					g = (int)cv[1];
  					b = (int)cv[2];
  				} else {
  					r = g = b = (int)cv[0];
  				}
  
  				int rgb = r << 16 | g << 8 | b;
  
  				output.setRGB(x, y, rgb);
  			}
  		}
  
  		return output;
  	}