From b796817ffc10b8d8c73b2748331c8a91c2d4a75f Mon Sep 17 00:00:00 2001 From: James South Date: Sun, 7 Sep 2014 20:34:04 +0100 Subject: [PATCH] Adding convolution type file Former-commit-id: 85e965b874fbc702157da8348cc2cec4d973d3b5 --- .../Imaging/ConvolutionType.cs | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/Plugins/ImageProcessor/ImageProcessor.Plugins.Cair/Imaging/ConvolutionType.cs diff --git a/src/Plugins/ImageProcessor/ImageProcessor.Plugins.Cair/Imaging/ConvolutionType.cs b/src/Plugins/ImageProcessor/ImageProcessor.Plugins.Cair/Imaging/ConvolutionType.cs new file mode 100644 index 000000000..b9e0aa26a --- /dev/null +++ b/src/Plugins/ImageProcessor/ImageProcessor.Plugins.Cair/Imaging/ConvolutionType.cs @@ -0,0 +1,43 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) James South. +// Licensed under the Apache License, Version 2.0. +// +// +// Provides enumeration of the content aware resize convolution types. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace ImageProcessor.Plugins.Cair.Imaging +{ + /// + /// Provides enumeration of the content aware resize convolution types. + /// + public enum ConvolutionType + { + /// + /// The Prewitt kernel convolution type. + /// + Prewitt = 0, + + /// + /// The V1 kernel convolution type. + /// + V1 = 1, + + /// + /// The VSquare kernel convolution type. + /// + VSquare = 2, + + /// + /// The Sobel kernel convolution type. + /// + Sobel = 3, + + /// + /// The Laplacian kernel convolution type. + /// + Laplacian = 4 + } +} \ No newline at end of file