StatFeature::Type Struct Reference

Enumeration defining different cell feature types (used by opalsCell) More...

#include "_StatFeature.hpp"

Public Types

enum  Enum {
  unknown = -1, min = 0, max, range,
  nmin, nmax, mean, median,
  sum, stdDev, variance, rms,
  stdDevMAD, minority, majority, pdens,
  pcount, quantile, shannonEntropy, quadraticEntropy,
  center, rank, posOpenness, negOpenness,
  pdist, null, Count
}
 

Detailed Description

Enumeration defining different cell feature types (used by opalsCell)

Used for indexing. Hence unscoped, with implicit conversion to int.

Member Enumeration Documentation

◆ Enum

enum Enum
Enumerator
min 

lowest

max 

highest

range 

difference between highest and lowest

nmin 

n lowest

nmax 

n highest

mean 

mean

median 

median

sum 

sum

stdDev 

standard deviation \(\sqrt{\sum_{i=1}^{N}(r_i - \bar{r})^2 / (N-1) }\)

variance 

(sample) variance \(\sum_{i=1}^{N}(r_i - \bar{r})^2 / (N-1)\)

rms 

root mean square \(\sqrt{\sum_{i=1}^{N} r_i^2 / N}\)

stdDevMAD 

robust standard deviation estimator computed from the median of absolute deviations from the median \(1.4826 \cdot median_i(\left|r_i - median_j(r_j)\right|)\). In literature this robust estimator is often referred to as normalized MAD (NMAD)

minority 

the class with the lowest relative frequency (histogram based)

majority 

the class with the highest relative frequency (histogram based)

pdens 

point density

pcount 

point count

quantile 

p-quantile (p=0..1)

shannonEntropy 

shannon entropy, measure of information content

quadraticEntropy 

quadratic entropy, measure of information content

center 

select closest to cell center

rank 

quantile rank [0..100]

posOpenness 

positive openness

negOpenness 

negative openness

pdist 

average linear point distance (see DM::ILinearDistance2D for details)

null 

respresenting void feature

Count 

number of available StatFeatures