// // Copyright © James South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageProcessor.Samplers { /// /// The function implements the Robidoux Soft algorithm. /// /// public class RobidouxSoftResampler : IResampler { /// public double Radius => 2; /// public double GetValue(double x) { const double B = 0.6796; const double C = 0.1602; return ImageMaths.GetBcValue(x, B, C); } } }