|
GrayLevelCooccurrenceMatrixCompute Method (UnmanagedImage, Rectangle)
|
Computes the Gray-level Co-occurrence Matrix for the given matrix.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public double[,] Compute(
UnmanagedImage source,
Rectangle region
)
Public Function Compute (
source As UnmanagedImage,
region As Rectangle
) As Double(,)
Request Example
View SourceParameters
- source
- Type: Accord.ImagingUnmanagedImage
The source image. - region
- Type: System.DrawingRectangle
A region of the source image where
the GLCM should be computed for.
Return Value
Type:
DoubleA square matrix of double-precision values containing the GLCM for the
region of the given
source.
See Also