docs: public static <T extends ImageGray<T>> DenoiseWavelet<T> bayes(ShrinkThresholdRule<T> rule , Class<T> imageType )
  	{
  		if( rule == null ) {
  			rule = (ShrinkThresholdRule<T>)new ShrinkThresholdSoft_F32();
  		}
  
  		if( imageType == GrayF32.class ) {
  			return (DenoiseWavelet<T>)new DenoiseBayesShrink_F32((ShrinkThresholdRule<GrayF32>)rule);
  		} else {
  			throw new IllegalArgumentException("Unsupported image type "+imageType);
  		}
  	}