nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
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
15
namespace
nk::image {
16
19
20
50
Value
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
71
Value
graycoprops
(
const
Value
&G,
72
std::pmr::memory_resource *mr =
nullptr
);
73
74
76
}
// namespace nk::image
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::image::graycoprops
Value graycoprops(const Value &G, std::pmr::memory_resource *mr=nullptr)
Texture statistics from a GLCM (S = graycoprops(G)).
nk::image::graycomatrix
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, ...)).
src
toolboxes
image
include
nk
image
texture
texture.hpp
Generated by
1.17.0