code: public static <T extends ImageGray<T>>
  	void rgbToHsv(Planar<T> rgb , Planar<T> hsv ) {
  		hsv.reshape(rgb.width,rgb.height,3);
  
  		if( hsv.getBandType() == GrayF32.class ) {
  			if(BoofConcurrency.USE_CONCURRENT ) {
  				ImplColorHsv_MT.rgbToHsv_F32((Planar<GrayF32>)rgb,(Planar<GrayF32>)hsv);
  			} else {
  				ImplColorHsv.rgbToHsv_F32((Planar<GrayF32>)rgb,(Planar<GrayF32>)hsv);
  			}
  		} else {
  			throw new IllegalArgumentException("Unsupported band type "+hsv.getBandType().getSimpleName());
  		}
  	}
docs: Converts an image from RGB into HSV.  Pixels must have a value within the range of [0,1].
  
  @param rgb (Input) Image in RGB format
  @param hsv (Output) Image in HSV format