Browse Source

Update ImageSharp Namespaces.

af/merge-core
James Jackson-South 8 years ago
parent
commit
0d2214923f
  1. 2
      src/ImageSharp/Formats/Gif/GifEncoder.cs
  2. 2
      src/ImageSharp/Formats/Gif/GifEncoderCore.cs
  3. 2
      src/ImageSharp/Formats/Gif/IGifEncoderOptions.cs
  4. 2
      src/ImageSharp/Formats/Png/IPngEncoderOptions.cs
  5. 2
      src/ImageSharp/Formats/Png/PngEncoder.cs
  6. 2
      src/ImageSharp/Formats/Png/PngEncoderCore.cs
  7. 2
      src/ImageSharp/Processing/AnchorPositionMode.cs
  8. 4
      src/ImageSharp/Processing/AutoOrientExtensions.cs
  9. 4
      src/ImageSharp/Processing/BackgroundColorExtensions.cs
  10. 6
      src/ImageSharp/Processing/BinaryDiffuseExtensions.cs
  11. 6
      src/ImageSharp/Processing/BinaryDitherExtensions.cs
  12. 4
      src/ImageSharp/Processing/BinaryThresholdExtensions.cs
  13. 4
      src/ImageSharp/Processing/BlackWhiteExtensions.cs
  14. 4
      src/ImageSharp/Processing/BoxBlurExtensions.cs
  15. 4
      src/ImageSharp/Processing/BrightnessExtensions.cs
  16. 4
      src/ImageSharp/Processing/ColorBlindnessExtensions.cs
  17. 2
      src/ImageSharp/Processing/ColorBlindnessMode.cs
  18. 4
      src/ImageSharp/Processing/ContrastExtensions.cs
  19. 4
      src/ImageSharp/Processing/CropExtensions.cs
  20. 4
      src/ImageSharp/Processing/DetectEdgesExtensions.cs
  21. 3
      src/ImageSharp/Processing/DiffuseExtensions.cs
  22. 5
      src/ImageSharp/Processing/DitherExtensions.cs
  23. 2
      src/ImageSharp/Processing/EdgeDetectionOperators.cs
  24. 4
      src/ImageSharp/Processing/EntropyCropExtensions.cs
  25. 4
      src/ImageSharp/Processing/FilterExtensions.cs
  26. 4
      src/ImageSharp/Processing/FlipExtensions.cs
  27. 2
      src/ImageSharp/Processing/FlipMode.cs
  28. 4
      src/ImageSharp/Processing/GaussianBlurExtensions.cs
  29. 4
      src/ImageSharp/Processing/GaussianSharpenExtensions.cs
  30. 4
      src/ImageSharp/Processing/GlowExtensions.cs
  31. 4
      src/ImageSharp/Processing/GrayscaleExtensions.cs
  32. 2
      src/ImageSharp/Processing/GrayscaleMode.cs
  33. 4
      src/ImageSharp/Processing/HueExtensions.cs
  34. 4
      src/ImageSharp/Processing/InvertExtensions.cs
  35. 4
      src/ImageSharp/Processing/KnownDiffusers.cs
  36. 6
      src/ImageSharp/Processing/KnownDitherers.cs
  37. 4
      src/ImageSharp/Processing/KnownFilterMatrices.cs
  38. 4
      src/ImageSharp/Processing/KnownQuantizers.cs
  39. 4
      src/ImageSharp/Processing/KnownResamplers.cs
  40. 4
      src/ImageSharp/Processing/KodachromeExtensions.cs
  41. 4
      src/ImageSharp/Processing/LomographExtensions.cs
  42. 4
      src/ImageSharp/Processing/OilPaintExtensions.cs
  43. 4
      src/ImageSharp/Processing/OpacityExtensions.cs
  44. 2
      src/ImageSharp/Processing/OrientationMode.cs
  45. 2
      src/ImageSharp/Processing/PadExtensions.cs
  46. 4
      src/ImageSharp/Processing/PixelateExtensions.cs
  47. 4
      src/ImageSharp/Processing/PolaroidExtensions.cs
  48. 5
      src/ImageSharp/Processing/Processors/Binarization/BinaryErrorDiffusionProcessor.cs
  49. 5
      src/ImageSharp/Processing/Processors/Binarization/BinaryOrderedDitherProcessor.cs
  50. 2
      src/ImageSharp/Processing/Processors/Binarization/BinaryThresholdProcessor.cs
  51. 3
      src/ImageSharp/Processing/Processors/Convolution/BoxBlurProcessor.cs
  52. 3
      src/ImageSharp/Processing/Processors/Convolution/Convolution2DProcessor.cs
  53. 2
      src/ImageSharp/Processing/Processors/Convolution/Convolution2PassProcessor.cs
  54. 2
      src/ImageSharp/Processing/Processors/Convolution/ConvolutionProcessor.cs
  55. 5
      src/ImageSharp/Processing/Processors/Convolution/EdgeDetector2DProcessor.cs
  56. 5
      src/ImageSharp/Processing/Processors/Convolution/EdgeDetectorCompassProcessor.cs
  57. 5
      src/ImageSharp/Processing/Processors/Convolution/EdgeDetectorProcessor.cs
  58. 2
      src/ImageSharp/Processing/Processors/Convolution/GaussianBlurProcessor.cs
  59. 7
      src/ImageSharp/Processing/Processors/Convolution/GaussianSharpenProcessor.cs
  60. 2
      src/ImageSharp/Processing/Processors/Convolution/IEdgeDetectorProcessor.cs
  61. 2
      src/ImageSharp/Processing/Processors/Convolution/KayyaliKernels.cs
  62. 2
      src/ImageSharp/Processing/Processors/Convolution/KayyaliProcessor.cs
  63. 2
      src/ImageSharp/Processing/Processors/Convolution/KirschProcessor.cs
  64. 2
      src/ImageSharp/Processing/Processors/Convolution/KirshKernels.cs
  65. 2
      src/ImageSharp/Processing/Processors/Convolution/Laplacian3x3Processor.cs
  66. 2
      src/ImageSharp/Processing/Processors/Convolution/Laplacian5x5Processor.cs
  67. 2
      src/ImageSharp/Processing/Processors/Convolution/LaplacianKernelFactory.cs
  68. 2
      src/ImageSharp/Processing/Processors/Convolution/LaplacianKernels.cs
  69. 2
      src/ImageSharp/Processing/Processors/Convolution/LaplacianOfGaussianProcessor.cs
  70. 2
      src/ImageSharp/Processing/Processors/Convolution/PrewittKernels.cs
  71. 2
      src/ImageSharp/Processing/Processors/Convolution/PrewittProcessor.cs
  72. 2
      src/ImageSharp/Processing/Processors/Convolution/RobertsCrossKernels.cs
  73. 2
      src/ImageSharp/Processing/Processors/Convolution/RobertsCrossProcessor.cs
  74. 2
      src/ImageSharp/Processing/Processors/Convolution/RobinsonKernels.cs
  75. 2
      src/ImageSharp/Processing/Processors/Convolution/RobinsonProcessor.cs
  76. 2
      src/ImageSharp/Processing/Processors/Convolution/ScharrKernels.cs
  77. 2
      src/ImageSharp/Processing/Processors/Convolution/ScharrProcessor.cs
  78. 2
      src/ImageSharp/Processing/Processors/Convolution/SobelKernels.cs
  79. 2
      src/ImageSharp/Processing/Processors/Convolution/SobelProcessor.cs
  80. 8
      src/ImageSharp/Processing/Processors/DelegateProcessor.cs
  81. 2
      src/ImageSharp/Processing/Processors/Dithering/AtkinsonDiffuser.cs
  82. 2
      src/ImageSharp/Processing/Processors/Dithering/BayerDither2x2.cs
  83. 2
      src/ImageSharp/Processing/Processors/Dithering/BayerDither4x4.cs
  84. 2
      src/ImageSharp/Processing/Processors/Dithering/BayerDither8x8.cs
  85. 2
      src/ImageSharp/Processing/Processors/Dithering/BurksDiffuser.cs
  86. 0
      src/ImageSharp/Processing/Processors/Dithering/DHALF.TXT
  87. 0
      src/ImageSharp/Processing/Processors/Dithering/DITHER.TXT
  88. 2
      src/ImageSharp/Processing/Processors/Dithering/ErrorDiffuserBase.cs
  89. 5
      src/ImageSharp/Processing/Processors/Dithering/ErrorDiffusionPaletteProcessor.cs
  90. 2
      src/ImageSharp/Processing/Processors/Dithering/FloydSteinbergDiffuser.cs
  91. 2
      src/ImageSharp/Processing/Processors/Dithering/IErrorDiffuser.cs
  92. 2
      src/ImageSharp/Processing/Processors/Dithering/IOrderedDither.cs
  93. 2
      src/ImageSharp/Processing/Processors/Dithering/JarvisJudiceNinkeDiffuser.cs
  94. 2
      src/ImageSharp/Processing/Processors/Dithering/OrderedDither.cs
  95. 2
      src/ImageSharp/Processing/Processors/Dithering/OrderedDither3x3.cs
  96. 2
      src/ImageSharp/Processing/Processors/Dithering/OrderedDitherFactory.cs
  97. 5
      src/ImageSharp/Processing/Processors/Dithering/OrderedDitherPaletteProcessor.cs
  98. 3
      src/ImageSharp/Processing/Processors/Dithering/PaletteDitherProcessorBase.cs
  99. 2
      src/ImageSharp/Processing/Processors/Dithering/PixelPair.cs
  100. 2
      src/ImageSharp/Processing/Processors/Dithering/Sierra2Diffuser.cs

2
src/ImageSharp/Formats/Gif/GifEncoder.cs

@ -5,7 +5,7 @@ using System.IO;
using System.Text;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Gif
{

2
src/ImageSharp/Formats/Gif/GifEncoderCore.cs

@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
using System.Text;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Gif

2
src/ImageSharp/Formats/Gif/IGifEncoderOptions.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System.Text;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Gif
{

2
src/ImageSharp/Formats/Png/IPngEncoderOptions.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Png
{

2
src/ImageSharp/Formats/Png/PngEncoder.cs

@ -4,7 +4,7 @@
using System.IO;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Png
{

2
src/ImageSharp/Formats/Png/PngEncoderCore.cs

@ -9,7 +9,7 @@ using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Formats.Png.Filters;
using SixLabors.ImageSharp.Formats.Png.Zlib;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Png

2
src/ImageSharp/Processing/Transforms/AnchorPositionMode.cs → src/ImageSharp/Processing/AnchorPositionMode.cs

@ -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
{
/// <summary>
/// Enumerated anchor positions to apply to resized images.

4
src/ImageSharp/Processing/Transforms/AutoOrientExtensions.cs → src/ImageSharp/Processing/AutoOrientExtensions.cs

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Processors;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
namespace SixLabors.ImageSharp.Processing.Transforms
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of auto-orientation operations to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Overlays/BackgroundColorExtensions.cs → src/ImageSharp/Processing/BackgroundColorExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Overlays.Processors;
using SixLabors.ImageSharp.Processing.Processors.Overlays;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Overlays
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of a background color to the <see cref="Image{TPixel}"/> type.

6
src/ImageSharp/Processing/Binarization/BinaryDiffuseExtensions.cs → src/ImageSharp/Processing/BinaryDiffuseExtensions.cs

@ -2,11 +2,11 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Binarization.Processors;
using SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion;
using SixLabors.ImageSharp.Processing.Processors.Binarization;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Binarization
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds binary diffusion extensions to the <see cref="Image{TPixel}"/> type.

6
src/ImageSharp/Processing/Binarization/BinaryDitherExtensions.cs → src/ImageSharp/Processing/BinaryDitherExtensions.cs

@ -2,11 +2,11 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Binarization.Processors;
using SixLabors.ImageSharp.Processing.Dithering.Ordered;
using SixLabors.ImageSharp.Processing.Processors.Binarization;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Binarization
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds binary dithering extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Binarization/BinaryThresholdExtensions.cs → src/ImageSharp/Processing/BinaryThresholdExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Binarization.Processors;
using SixLabors.ImageSharp.Processing.Processors.Binarization;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Binarization
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds binary thresholding extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/BlackWhiteExtensions.cs → src/ImageSharp/Processing/BlackWhiteExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of black and white toning to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Convolution/BoxBlurExtensions.cs → src/ImageSharp/Processing/BoxBlurExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Convolution.Processors;
using SixLabors.ImageSharp.Processing.Processors.Convolution;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds box blurring extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/BrightnessExtensions.cs → src/ImageSharp/Processing/BrightnessExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the alteration of the brightness component to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/ColorBlindnessExtensions.cs → src/ImageSharp/Processing/ColorBlindnessExtensions.cs

@ -2,11 +2,11 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that simulate the effects of various color blindness disorders to the <see cref="Image{TPixel}"/> type.

2
src/ImageSharp/Processing/Filters/ColorBlindnessMode.cs → src/ImageSharp/Processing/ColorBlindnessMode.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Enumerates the various types of defined color blindness filters.

4
src/ImageSharp/Processing/Filters/ContrastExtensions.cs → src/ImageSharp/Processing/ContrastExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the alteration of the contrast component to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Transforms/CropExtensions.cs → src/ImageSharp/Processing/CropExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Processors;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Transforms
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of cropping operations to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Convolution/DetectEdgesExtensions.cs → src/ImageSharp/Processing/DetectEdgesExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Convolution.Processors;
using SixLabors.ImageSharp.Processing.Processors.Convolution;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds edge detection extensions to the <see cref="Image{TPixel}"/> type.

3
src/ImageSharp/Processing/Dithering/DiffuseExtensions.cs → src/ImageSharp/Processing/DiffuseExtensions.cs

@ -2,8 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion;
using SixLabors.ImageSharp.Processing.Dithering.Processors;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering

5
src/ImageSharp/Processing/Dithering/DitherExtensions.cs → src/ImageSharp/Processing/DitherExtensions.cs

@ -2,11 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Dithering.Ordered;
using SixLabors.ImageSharp.Processing.Dithering.Processors;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds dithering extensions to the <see cref="Image{TPixel}"/> type.

2
src/ImageSharp/Processing/Convolution/EdgeDetectionOperators.cs → src/ImageSharp/Processing/EdgeDetectionOperators.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Convolution
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Enumerates the various types of defined edge detection filters.

4
src/ImageSharp/Processing/Transforms/EntropyCropExtensions.cs → src/ImageSharp/Processing/EntropyCropExtensions.cs

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Processors;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
namespace SixLabors.ImageSharp.Processing.Transforms
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of entropy cropping operations to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/FilterExtensions.cs → src/ImageSharp/Processing/FilterExtensions.cs

@ -3,10 +3,10 @@
using System.Numerics;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of composable filters to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Transforms/FlipExtensions.cs → src/ImageSharp/Processing/FlipExtensions.cs

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Processors;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
namespace SixLabors.ImageSharp.Processing.Transforms
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of flipping operations to the <see cref="Image{TPixel}"/> type.

2
src/ImageSharp/Processing/Transforms/FlipMode.cs → src/ImageSharp/Processing/FlipMode.cs

@ -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
{
/// <summary>
/// Provides enumeration over how a image should be flipped.

4
src/ImageSharp/Processing/Convolution/GaussianBlurExtensions.cs → src/ImageSharp/Processing/GaussianBlurExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Convolution.Processors;
using SixLabors.ImageSharp.Processing.Processors.Convolution;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds Gaussian blurring extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Convolution/GaussianSharpenExtensions.cs → src/ImageSharp/Processing/GaussianSharpenExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Convolution.Processors;
using SixLabors.ImageSharp.Processing.Processors.Convolution;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds Gaussian sharpening extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Overlays/GlowExtensions.cs → src/ImageSharp/Processing/GlowExtensions.cs

@ -3,10 +3,10 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Overlays.Processors;
using SixLabors.ImageSharp.Processing.Processors.Overlays;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Overlays
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of a radial glow to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/GrayscaleExtensions.cs → src/ImageSharp/Processing/GrayscaleExtensions.cs

@ -2,11 +2,11 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of grayscale toning to the <see cref="Image{TPixel}"/> type.

2
src/ImageSharp/Processing/Filters/GrayscaleMode.cs → src/ImageSharp/Processing/GrayscaleMode.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Enumerates the various types of defined grayscale filters.

4
src/ImageSharp/Processing/Filters/HueExtensions.cs → src/ImageSharp/Processing/HueExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the alteration of the hue component to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/InvertExtensions.cs → src/ImageSharp/Processing/InvertExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the inversion of colors to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Dithering/KnownDiffusers.cs → src/ImageSharp/Processing/KnownDiffusers.cs

@ -1,9 +1,9 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
namespace SixLabors.ImageSharp.Processing.Dithering
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Contains reusable static instances of known error diffusion algorithms

6
src/ImageSharp/Processing/Dithering/KnownDitherers.cs → src/ImageSharp/Processing/KnownDitherers.cs

@ -1,14 +1,14 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Processing.Dithering.Ordered;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
namespace SixLabors.ImageSharp.Processing.Dithering
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Contains reusable static instances of known ordered dither matrices
/// </summary>
public class KnownDitherers
public static class KnownDitherers
{
/// <summary>
/// Gets the order ditherer using the 2x2 Bayer dithering matrix

4
src/ImageSharp/Processing/Filters/KnownFilterMatrices.cs → src/ImageSharp/Processing/KnownFilterMatrices.cs

@ -4,7 +4,7 @@
using System;
using System.Numerics;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// A collection of known <see cref="Matrix4x4"/> values for composing filters
@ -314,7 +314,7 @@ namespace SixLabors.ImageSharp.Processing.Filters
public static Matrix4x4 CreateHueFilter(float degrees)
{
// Wrap the angle round at 360.
degrees = degrees % 360;
degrees %= 360;
// Make sure it's not negative.
while (degrees < 0)

4
src/ImageSharp/Processing/Quantization/KnownQuantizers.cs → src/ImageSharp/Processing/KnownQuantizers.cs

@ -1,7 +1,9 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Quantization
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Contains reusable static instances of known quantizing algorithms

4
src/ImageSharp/Processing/Transforms/KnownResamplers.cs → src/ImageSharp/Processing/KnownResamplers.cs

@ -1,9 +1,9 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Processing.Transforms.Resamplers;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
namespace SixLabors.ImageSharp.Processing.Transforms
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Contains reusable static instances of known resampling algorithms

4
src/ImageSharp/Processing/Filters/KodachromeExtensions.cs → src/ImageSharp/Processing/KodachromeExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the recreation of an old Kodachrome camera effect to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/LomographExtensions.cs → src/ImageSharp/Processing/LomographExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the recreation of an old Lomograph camera effect to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Effects/OilPaintExtensions.cs → src/ImageSharp/Processing/OilPaintExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Effects.Processors;
using SixLabors.ImageSharp.Processing.Processors.Effects;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Effects
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds oil painting effect extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/OpacityExtensions.cs → src/ImageSharp/Processing/OpacityExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the alteration of the opacity component to the <see cref="Image{TPixel}"/> type.

2
src/ImageSharp/Processing/Transforms/OrientationMode.cs → src/ImageSharp/Processing/OrientationMode.cs

@ -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
{
/// <summary>
/// Enumerates the available orientation values supplied by EXIF metadata.

2
src/ImageSharp/Processing/Transforms/PadExtensions.cs → src/ImageSharp/Processing/PadExtensions.cs

@ -4,7 +4,7 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Transforms
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of padding operations to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Effects/PixelateExtensions.cs → src/ImageSharp/Processing/PixelateExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Effects.Processors;
using SixLabors.ImageSharp.Processing.Processors.Effects;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Effects
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds pixelation effect extensions to the <see cref="Image{TPixel}"/> type.

4
src/ImageSharp/Processing/Filters/PolaroidExtensions.cs → src/ImageSharp/Processing/PolaroidExtensions.cs

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Filters
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the recreation of an old Polaroid camera effect to the <see cref="Image{TPixel}"/> type.

5
src/ImageSharp/Processing/Binarization/Processors/BinaryErrorDiffusionProcessor.cs → src/ImageSharp/Processing/Processors/Binarization/BinaryErrorDiffusionProcessor.cs

@ -4,11 +4,10 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Binarization.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Binarization
{
/// <summary>
/// Performs binary threshold filtering against an image using error diffusion.

5
src/ImageSharp/Processing/Binarization/Processors/BinaryOrderedDitherProcessor.cs → src/ImageSharp/Processing/Processors/Binarization/BinaryOrderedDitherProcessor.cs

@ -4,11 +4,10 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Dithering.Ordered;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Binarization.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Binarization
{
/// <summary>
/// Performs binary threshold filtering against an image using ordered dithering.

2
src/ImageSharp/Processing/Binarization/Processors/BinaryThresholdProcessor.cs → src/ImageSharp/Processing/Processors/Binarization/BinaryThresholdProcessor.cs

@ -8,7 +8,7 @@ using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Binarization.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Binarization
{
/// <summary>
/// Performs simple binary threshold filtering against an image.

3
src/ImageSharp/Processing/Convolution/Processors/BoxBlurProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/BoxBlurProcessor.cs

@ -3,10 +3,9 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies box blur processing to the image.

3
src/ImageSharp/Processing/Convolution/Processors/Convolution2DProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/Convolution2DProcessor.cs

@ -7,11 +7,10 @@ using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that uses two one-dimensional matrices to perform convolution against an image.

2
src/ImageSharp/Processing/Convolution/Processors/Convolution2PassProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/Convolution2PassProcessor.cs

@ -10,7 +10,7 @@ using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that uses two one-dimensional matrices to perform two-pass convolution against an image.

2
src/ImageSharp/Processing/Convolution/Processors/ConvolutionProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/ConvolutionProcessor.cs

@ -11,7 +11,7 @@ using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that uses a 2 dimensional matrix to perform convolution against an image.

5
src/ImageSharp/Processing/Convolution/Processors/EdgeDetector2DProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/EdgeDetector2DProcessor.cs

@ -3,11 +3,10 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that detects edges within an image using two one-dimensional matrices.

5
src/ImageSharp/Processing/Convolution/Processors/EdgeDetectorCompassProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/EdgeDetectorCompassProcessor.cs

@ -8,12 +8,11 @@ using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that detects edges within an image using a eight two dimensional matrices.

5
src/ImageSharp/Processing/Convolution/Processors/EdgeDetectorProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/EdgeDetectorProcessor.cs

@ -3,11 +3,10 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Filters.Processors;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Filters;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that detects edges within an image using a single two dimensional matrix.

2
src/ImageSharp/Processing/Convolution/Processors/GaussianBlurProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/GaussianBlurProcessor.cs

@ -7,7 +7,7 @@ using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies Gaussian blur processing to the image.

7
src/ImageSharp/Processing/Convolution/Processors/GaussianSharpenProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/GaussianSharpenProcessor.cs

@ -4,10 +4,9 @@
using System;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies Gaussian sharpening processing to the image.
@ -160,14 +159,14 @@ namespace SixLabors.ImageSharp.Processing.Convolution.Processors
{
for (int i = 0; i < size; i++)
{
kernel[0, i] = kernel[0, i] / sum;
kernel[0, i] /= sum;
}
}
else
{
for (int i = 0; i < size; i++)
{
kernel[i, 0] = kernel[i, 0] / sum;
kernel[i, 0] /= sum;
}
}

2
src/ImageSharp/Processing/Convolution/Processors/IEdgeDetectorProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/IEdgeDetectorProcessor.cs

@ -4,7 +4,7 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Provides properties and methods allowing the detection of edges within an image.

2
src/ImageSharp/Processing/Convolution/Processors/KayyaliKernels.cs → src/ImageSharp/Processing/Processors/Convolution/KayyaliKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the kernels used for Kayyali edge detection

2
src/ImageSharp/Processing/Convolution/Processors/KayyaliProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/KayyaliProcessor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Kayyali operator filter. <see href="http://edgedetection.webs.com/"/>

2
src/ImageSharp/Processing/Convolution/Processors/KirschProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/KirschProcessor.cs

@ -4,7 +4,7 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Kirsch operator filter. <see href="http://en.wikipedia.org/wiki/Kirsch_operator"/>

2
src/ImageSharp/Processing/Convolution/Processors/KirshKernels.cs → src/ImageSharp/Processing/Processors/Convolution/KirshKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the eight matrices used for Kirsh edge detection

2
src/ImageSharp/Processing/Convolution/Processors/Laplacian3x3Processor.cs → src/ImageSharp/Processing/Processors/Convolution/Laplacian3x3Processor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Laplacian 3x3 operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/Laplacian5x5Processor.cs → src/ImageSharp/Processing/Processors/Convolution/Laplacian5x5Processor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Laplacian 5x5 operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/LaplacianKernelFactory.cs → src/ImageSharp/Processing/Processors/Convolution/LaplacianKernelFactory.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// A factory for creating Laplacian kernel matrices.

2
src/ImageSharp/Processing/Convolution/Processors/LaplacianKernels.cs → src/ImageSharp/Processing/Processors/Convolution/LaplacianKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains Laplacian kernels of different sizes

2
src/ImageSharp/Processing/Convolution/Processors/LaplacianOfGaussianProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/LaplacianOfGaussianProcessor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Laplacian of Gaussian operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/PrewittKernels.cs → src/ImageSharp/Processing/Processors/Convolution/PrewittKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the kernels used for Prewitt edge detection

2
src/ImageSharp/Processing/Convolution/Processors/PrewittProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/PrewittProcessor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Prewitt operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/RobertsCrossKernels.cs → src/ImageSharp/Processing/Processors/Convolution/RobertsCrossKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the kernels used for RobertsCross edge detection

2
src/ImageSharp/Processing/Convolution/Processors/RobertsCrossProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/RobertsCrossProcessor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Roberts Cross operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/RobinsonKernels.cs → src/ImageSharp/Processing/Processors/Convolution/RobinsonKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the kernels used for Robinson edge detection

2
src/ImageSharp/Processing/Convolution/Processors/RobinsonProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/RobinsonProcessor.cs

@ -4,7 +4,7 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Robinson operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/ScharrKernels.cs → src/ImageSharp/Processing/Processors/Convolution/ScharrKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the kernels used for Scharr edge detection

2
src/ImageSharp/Processing/Convolution/Processors/ScharrProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/ScharrProcessor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Applies edge detection processing to the image using the Scharr operator filter.

2
src/ImageSharp/Processing/Convolution/Processors/SobelKernels.cs → src/ImageSharp/Processing/Processors/Convolution/SobelKernels.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Contains the kernels used for Sobel edge detection

2
src/ImageSharp/Processing/Convolution/Processors/SobelProcessor.cs → src/ImageSharp/Processing/Processors/Convolution/SobelProcessor.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// The Sobel operator filter.

8
src/ImageSharp/Processing/Processors/DelegateProcessor.cs

@ -14,26 +14,24 @@ namespace SixLabors.ImageSharp.Processing.Processors
internal class DelegateProcessor<TPixel> : ImageProcessor<TPixel>
where TPixel : struct, IPixel<TPixel>
{
private readonly Action<Image<TPixel>> action;
/// <summary>
/// Initializes a new instance of the <see cref="DelegateProcessor{TPixel}"/> class.
/// </summary>
/// <param name="action">The action.</param>
public DelegateProcessor(Action<Image<TPixel>> action)
{
this.action = action;
this.Action = action;
}
/// <summary>
/// Gets the action that will be applied to the image.
/// </summary>
internal Action<Image<TPixel>> Action => this.action;
internal Action<Image<TPixel>> Action { get; }
/// <inheritdoc/>
protected override void BeforeImageApply(Image<TPixel> source, Rectangle sourceRectangle)
{
this.action?.Invoke(source);
this.Action?.Invoke(source);
}
/// <inheritdoc/>

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/AtkinsonDiffuser.cs → src/ImageSharp/Processing/Processors/Dithering/AtkinsonDiffuser.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies error diffusion based dithering using the Atkinson image dithering algorithm.

2
src/ImageSharp/Processing/Dithering/Ordered/BayerDither2x2.cs → src/ImageSharp/Processing/Processors/Dithering/BayerDither2x2.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies order dithering using the 2x2 Bayer dithering matrix.

2
src/ImageSharp/Processing/Dithering/Ordered/BayerDither4x4.cs → src/ImageSharp/Processing/Processors/Dithering/BayerDither4x4.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies order dithering using the 4x4 Bayer dithering matrix.

2
src/ImageSharp/Processing/Dithering/Ordered/BayerDither8x8.cs → src/ImageSharp/Processing/Processors/Dithering/BayerDither8x8.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies order dithering using the 8x8 Bayer dithering matrix.

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/BurksDiffuser.cs → src/ImageSharp/Processing/Processors/Dithering/BurksDiffuser.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies error diffusion based dithering using the Burks image dithering algorithm.

0
src/ImageSharp/Processing/Dithering/DHALF.TXT → src/ImageSharp/Processing/Processors/Dithering/DHALF.TXT

0
src/ImageSharp/Processing/Dithering/DITHER.TXT → src/ImageSharp/Processing/Processors/Dithering/DITHER.TXT

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/ErrorDiffuserBase.cs → src/ImageSharp/Processing/Processors/Dithering/ErrorDiffuserBase.cs

@ -8,7 +8,7 @@ using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// The base class for performing error diffusion based dithering.

5
src/ImageSharp/Processing/Dithering/Processors/ErrorDiffusionPaletteProcessor.cs → src/ImageSharp/Processing/Processors/Dithering/ErrorDiffusionPaletteProcessor.cs

@ -4,11 +4,10 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// An <see cref="IImageProcessor{TPixel}"/> that dithers an image using error diffusion.

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/FloydSteinbergDiffuser.cs → src/ImageSharp/Processing/Processors/Dithering/FloydSteinbergDiffuser.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies error diffusion based dithering using the Floyd–Steinberg image dithering algorithm.

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/IErrorDiffuser.cs → src/ImageSharp/Processing/Processors/Dithering/IErrorDiffuser.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Encapsulates properties and methods required to perform diffused error dithering on an image.

2
src/ImageSharp/Processing/Dithering/Ordered/IOrderedDither.cs → src/ImageSharp/Processing/Processors/Dithering/IOrderedDither.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Encapsulates properties and methods required to perform ordered dithering on an image.

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/JarvisJudiceNinkeDiffuser.cs → src/ImageSharp/Processing/Processors/Dithering/JarvisJudiceNinkeDiffuser.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies error diffusion based dithering using the JarvisJudiceNinke image dithering algorithm.

2
src/ImageSharp/Processing/Dithering/Ordered/OrderedDither.cs → src/ImageSharp/Processing/Processors/Dithering/OrderedDither.cs

@ -4,7 +4,7 @@
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// An ordered dithering matrix with equal sides of arbitrary length

2
src/ImageSharp/Processing/Dithering/Ordered/OrderedDither3x3.cs → src/ImageSharp/Processing/Processors/Dithering/OrderedDither3x3.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies order dithering using the 3x3 dithering matrix.

2
src/ImageSharp/Processing/Dithering/Ordered/OrderedDitherFactory.cs → src/ImageSharp/Processing/Processors/Dithering/OrderedDitherFactory.cs

@ -4,7 +4,7 @@
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.Ordered
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// A factory for creating ordered dither matrices.

5
src/ImageSharp/Processing/Dithering/Processors/OrderedDitherPaletteProcessor.cs → src/ImageSharp/Processing/Processors/Dithering/OrderedDitherPaletteProcessor.cs

@ -4,11 +4,10 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Dithering.Ordered;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// An <see cref="IImageProcessor{TPixel}"/> that dithers an image using error diffusion.

3
src/ImageSharp/Processing/Dithering/Processors/PaletteDitherProcessorBase.cs → src/ImageSharp/Processing/Processors/Dithering/PaletteDitherProcessorBase.cs

@ -5,9 +5,8 @@ using System.Collections.Generic;
using System.Numerics;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
namespace SixLabors.ImageSharp.Processing.Dithering.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// The base class for dither and diffusion processors that consume a palette.

2
src/ImageSharp/Processing/Dithering/Processors/PixelPair.cs → src/ImageSharp/Processing/Processors/Dithering/PixelPair.cs

@ -4,7 +4,7 @@
using System;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Dithering.Processors
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Represents a composite pair of pixels. Used for caching color distance lookups.

2
src/ImageSharp/Processing/Dithering/ErrorDiffusion/Sierra2Diffuser.cs → src/ImageSharp/Processing/Processors/Dithering/Sierra2Diffuser.cs

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
namespace SixLabors.ImageSharp.Processing.Processors.Dithering
{
/// <summary>
/// Applies error diffusion based dithering using the Sierra2 image dithering algorithm.

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save