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