nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
texture.hpp
Go to the documentation of this file.
1
3// toolboxes/image/include/nk/image/texture/texture.hpp
4//
5// Texture-analysis primitives. The gray-level co-occurrence matrix
6// (GLCM) and its property extractors are the work-horses of
7// texture analysis.
8
9#pragma once
10
11#include <memory_resource>
12#include <nk/value/value.hpp>
13#include <string>
14
15namespace nk::image {
16
19
20
50Value graycomatrix(const Value &I, int numLevels, int offR, int offC,
51 double gLow, double gHigh, bool symmetric,
52 std::pmr::memory_resource *mr = nullptr);
53
72 std::pmr::memory_resource *mr = nullptr);
73
74
76} // namespace nk::image
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value graycoprops(const Value &G, std::pmr::memory_resource *mr=nullptr)
Texture statistics from a GLCM (S = graycoprops(G)).
Value graycomatrix(const Value &I, int numLevels, int offR, int offC, double gLow, double gHigh, bool symmetric, std::pmr::memory_resource *mr=nullptr)
Gray-level co-occurrence matrix (G = graycomatrix(I, ...)).