mirror of https://github.com/SixLabors/ImageSharp
48 changed files with 167 additions and 145 deletions
@ -1,12 +1,14 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion |
using SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion; |
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Processing.Dithering |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Contains reusable static instances of known error diffusion algorithms
|
/// Contains reusable static instances of known error diffusion algorithms
|
||||
/// </summary>
|
/// </summary>
|
||||
public static class Diffusers |
public static class DiffuseMode |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Gets the error diffuser that implements the Atkinson algorithm.
|
/// Gets the error diffuser that implements the Atkinson algorithm.
|
||||
@ -1,12 +1,14 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered |
using SixLabors.ImageSharp.Processing.Dithering.Ordered; |
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Processing.Dithering |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Contains reusable static instances of known ordered dither matrices
|
/// Contains reusable static instances of known ordered dither matrices
|
||||
/// </summary>
|
/// </summary>
|
||||
public class Ditherers |
public class DitherMode |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Gets the order ditherer using the 2x2 Bayer dithering matrix
|
/// Gets the order ditherer using the 2x2 Bayer dithering matrix
|
||||
@ -1,12 +1,14 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
|
using SixLabors.ImageSharp.Processing.Transforms.Resamplers; |
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Contains reusable static instances of known resampling algorithms
|
/// Contains reusable static instances of known resampling algorithms
|
||||
/// </summary>
|
/// </summary>
|
||||
public static class Resamplers |
public static class ResampleMode |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Gets the Bicubic sampler that implements the bicubic kernel algorithm W(x)
|
/// Gets the Bicubic sampler that implements the bicubic kernel algorithm W(x)
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the bicubic kernel algorithm W(x) as described on
|
/// The function implements the bicubic kernel algorithm W(x) as described on
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the box algorithm. Similar to nearest neighbor when upscaling.
|
/// The function implements the box algorithm. Similar to nearest neighbor when upscaling.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The Catmull-Rom filter is a well known standard Cubic Filter often used as a interpolation function.
|
/// The Catmull-Rom filter is a well known standard Cubic Filter often used as a interpolation function.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The Hermite filter is type of smoothed triangular interpolation Filter,
|
/// The Hermite filter is type of smoothed triangular interpolation Filter,
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Encapsulates an interpolation algorithm for resampling images.
|
/// Encapsulates an interpolation algorithm for resampling images.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the Lanczos kernel algorithm as described on
|
/// The function implements the Lanczos kernel algorithm as described on
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the Lanczos kernel algorithm as described on
|
/// The function implements the Lanczos kernel algorithm as described on
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the Lanczos kernel algorithm as described on
|
/// The function implements the Lanczos kernel algorithm as described on
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the Lanczos kernel algorithm as described on
|
/// The function implements the Lanczos kernel algorithm as described on
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the mitchell algorithm as described on
|
/// The function implements the mitchell algorithm as described on
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the nearest neighbor algorithm. This uses an unscaled filter
|
/// The function implements the nearest neighbor algorithm. This uses an unscaled filter
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the Robidoux algorithm.
|
/// The function implements the Robidoux algorithm.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the Robidoux Sharp algorithm.
|
/// The function implements the Robidoux Sharp algorithm.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the spline algorithm.
|
/// The function implements the spline algorithm.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the triangle (bilinear) algorithm.
|
/// The function implements the triangle (bilinear) algorithm.
|
||||
@ -1,7 +1,7 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
// Copyright (c) Six Labors and contributors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing.Transforms |
namespace SixLabors.ImageSharp.Processing.Transforms.Resamplers |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The function implements the welch algorithm.
|
/// The function implements the welch algorithm.
|
||||
Loading…
Reference in new issue