AccidentalNoise.ImplicitBrightContrast.Get C# (CSharp) Метод

Get() публичный Метод

public Get ( Double x, Double y ) : Double
x Double
y Double
Результат Double
        public override Double Get(Double x, Double y)
        {
            var value = this.Source.Get(x, y);
            // Apply brightness
            value += this.Brightness.Get(x, y);

            // Subtract contrastThreshold, scale by contrastFactor, add contrastThreshold
            var threshold = this.ContrastThreshold.Get(x, y);
            value -= threshold;
            value *= this.ContrastFactor.Get(x, y);
            value += threshold;
            return value;
        }

Same methods

ImplicitBrightContrast::Get ( Double x, Double y, Double z ) : Double
ImplicitBrightContrast::Get ( Double x, Double y, Double z, Double w ) : Double
ImplicitBrightContrast::Get ( Double x, Double y, Double z, Double w, Double u, Double v ) : Double
ImplicitBrightContrast