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