Class NoiseFactory


  • public class NoiseFactory
    extends java.lang.Object
    Factory for creating noise images.
    • Constructor Summary

      Constructors 
      Constructor Description
      NoiseFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.image.BufferedImage getNoiseImage​(RadianceColorScheme scheme, int width, int height, double xFactor, double yFactor, boolean hasConstantZ, boolean toBlur)
      Returns a noise image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoiseFactory

        public NoiseFactory()
    • Method Detail

      • getNoiseImage

        public static java.awt.image.BufferedImage getNoiseImage​(RadianceColorScheme scheme,
                                                                 int width,
                                                                 int height,
                                                                 double xFactor,
                                                                 double yFactor,
                                                                 boolean hasConstantZ,
                                                                 boolean toBlur)
        Returns a noise image.
        Parameters:
        scheme - The color scheme to use for rendering the image.
        width - Image width.
        height - Image height.
        xFactor - X stretch factor.
        yFactor - Y stretch factor.
        hasConstantZ - Indication whether the Z is constant.
        toBlur - Indication whether the resulting image should be blurred.
        Returns:
        Noise image.