Class MPSTemporalWeighting


  • public final class MPSTemporalWeighting
    extends java.lang.Object
    Controls how samples are weighted over time
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Average
      Compute an average of all samples.
      static long ExponentialMovingAverage
      Compute an exponential moving average by blending linearly between the previous accumulated samples and the current sample according to the temporalReprojectionBlendFactor property.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Average

        public static final long Average
        Compute an average of all samples. This will fully utilize all samples but may lead to excessive ghosting artifacts under motion. Therefore, this is best for static images.
        See Also:
        Constant Field Values
      • ExponentialMovingAverage

        public static final long ExponentialMovingAverage
        Compute an exponential moving average by blending linearly between the previous accumulated samples and the current sample according to the temporalReprojectionBlendFactor property. This will cause older samples to lose their contribution over time, which will prevent ghosting artifacts but will also never converge to a stable value. Therefore, this is best for images with motion.
        See Also:
        Constant Field Values