docs: public static void renderLabeled(GrayS32 labelImage, int numRegions, Bitmap output , byte[] storage) {
  
  		if( storage == null )
  			storage = declareStorage(output,null);
  
  		int colors[] = new int[numRegions];
  
  		Random rand = new Random(123);
  		for( int i = 0; i < colors.length; i++ ) {
  			colors[i] = rand.nextInt();
  		}
  
  		int w = labelImage.getWidth();
  		int h = labelImage.getHeight();
  
  		int indexOut = 0;
  		for( int y = 0; y < h; y++ ) {
  			int indexSrc = labelImage.startIndex + y*labelImage.stride;
  			for( int x = 0; x < w; x++ ) {
  				int rgb = colors[labelImage.data[indexSrc++]];
  
  				storage[indexOut++] = (byte)(rgb & 0xFF);
  				storage[indexOut++] = (byte)((rgb >> 8) & 0xFF);
  				storage[indexOut++] = (byte)((rgb >> 16) & 0xFF);
  				storage[indexOut++] = (byte)0xFF;
  			}
  		}
  
  		output.copyPixelsFromBuffer(ByteBuffer.wrap(storage));
  	}