Class ConvolutionKernelF
A convolution kernel
public class ConvolutionKernelF : Matrix<float>, IXmlSerializable, IInputOutputArray, IInputArrayOfArrays, IOutputArrayOfArrays, IOutputArray, IInputArray, IDisposable, ISerializable, IEquatable<Matrix<float>>, ICloneable
- Inheritance
-
ConvolutionKernelF
- Implements
-
IXmlSerializable
- Inherited Members
- Extension Methods
Constructors
ConvolutionKernelF(Matrix<float>, Point)
Create a convolution kernel using the specific matrix and center
public ConvolutionKernelF(Matrix<float> kernel, Point center)
Parameters
ConvolutionKernelF(int, int)
Create a convolution kernel with the specific number of rows
and cols
public ConvolutionKernelF(int rows, int cols)
Parameters
rows
intThe number of raws for the convolution kernel
cols
intThe number of columns for the convolution kernel
ConvolutionKernelF(float[,])
Create a convolution kernel using the specific floating point matrix
public ConvolutionKernelF(float[,] kernel)
Parameters
kernel
float[,]The values for the convolution kernel
ConvolutionKernelF(float[,], Point)
Create a convolution kernel using the specific floating point matrix and center
public ConvolutionKernelF(float[,] kernel, Point center)
Parameters
kernel
float[,]The values for the convolution kernel
center
PointThe center for the convolution kernel
Fields
_center
The center of the convolution kernel
protected Point _center
Field Value
Properties
Center
The center of the convolution kernel
public Point Center { get; set; }
Property Value
Methods
Flip(FlipType)
Get a flipped copy of the convolution kernel
public ConvolutionKernelF Flip(FlipType flipType)
Parameters
flipType
FlipTypeThe type of the flipping
Returns
- ConvolutionKernelF
The flipped copy of this kernel
Transpose()
Obtain the transpose of the convolution kernel
public ConvolutionKernelF Transpose()
Returns
- ConvolutionKernelF
A transposed convolution kernel