A structure to hold the set of GLCM metrics. More...
#include <Texture.h>
Public Member Functions | |
void | clear () |
Clear the structure. More... | |
Texture & | operator= (const Texture &rhs) |
Assignment operator. More... | |
Texture () | |
Constructor. More... | |
Texture (const Texture &rhs) | |
Copy constructor. More... | |
~Texture () | |
Destructor. More... | |
Public Attributes | |
double | m_contrast |
GLCM metric Contrast (also called Sum of Squares Variance) ${i,j=0}^{N-1}P_{i,j}(i-j)^2$. More... | |
double | m_dissimilarity |
GLCM metric Dissimilarity ${i,j=0}^{N-1}P_{i,j}|i-j|$. More... | |
double | m_energy |
GLCM metric Energy (the square root of Angular Second Moment) ${{i,j=0}^{N-1}P_{i,j}^2}$. More... | |
double | m_entropy |
GLCM metric Entropy ${i,j=0}^{N-1}P_{i,j}(-{P_{i,j}})$. More... | |
double | m_homogeneity |
GLCM metric Homogeneity (also called Inverse Difference Moment) ${i,j=0}^{N-1}{P_{i,j}}{1+(i-j)^2}$. More... | |
te::rp::Texture::Texture | ( | ) |
Constructor.
Definition at line 29 of file Texture.cpp.
te::rp::Texture::Texture | ( | const Texture & | rhs | ) |
Copy constructor.
rhs | The right-hand-side copy used to copy from. |
Definition at line 38 of file Texture.cpp.
References m_contrast, m_dissimilarity, m_energy, m_entropy, and m_homogeneity.
te::rp::Texture::~Texture | ( | ) |
Destructor.
Definition at line 47 of file Texture.cpp.
void te::rp::Texture::clear | ( | ) |
Clear the structure.
Definition at line 68 of file Texture.cpp.
te::rp::Texture & te::rp::Texture::operator= | ( | const Texture & | rhs | ) |
Assignment operator.
rhs | The right-hand-side copy used to copy from. |
Definition at line 52 of file Texture.cpp.
References m_contrast, m_dissimilarity, m_energy, m_entropy, and m_homogeneity.
double te::rp::Texture::m_contrast |
GLCM metric Contrast (also called Sum of Squares Variance) ${i,j=0}^{N-1}P_{i,j}(i-j)^2$.
Definition at line 75 of file Texture.h.
Referenced by te::rp::RasterAttributes::getGLCMMetrics(), operator=(), and Texture().
double te::rp::Texture::m_dissimilarity |
GLCM metric Dissimilarity ${i,j=0}^{N-1}P_{i,j}|i-j|$.
Definition at line 76 of file Texture.h.
Referenced by te::rp::RasterAttributes::getGLCMMetrics(), operator=(), and Texture().
double te::rp::Texture::m_energy |
GLCM metric Energy (the square root of Angular Second Moment) ${{i,j=0}^{N-1}P_{i,j}^2}$.
Definition at line 77 of file Texture.h.
Referenced by te::rp::RasterAttributes::getGLCMMetrics(), operator=(), and Texture().
double te::rp::Texture::m_entropy |
GLCM metric Entropy ${i,j=0}^{N-1}P_{i,j}(-{P_{i,j}})$.
Definition at line 78 of file Texture.h.
Referenced by te::rp::RasterAttributes::getGLCMMetrics(), operator=(), and Texture().
double te::rp::Texture::m_homogeneity |
GLCM metric Homogeneity (also called Inverse Difference Moment) ${i,j=0}^{N-1}{P_{i,j}}{1+(i-j)^2}$.
Definition at line 79 of file Texture.h.
Referenced by te::rp::RasterAttributes::getGLCMMetrics(), operator=(), and Texture().