Persistence 1D incl. Reconstruct1D  1.3
Finding extrema in one dimensional data, filtering them by persistence and reconstructing smooth functions
Public Attributes | List of all members
p1d::TComponent Struct Reference

Defines a component within the data domain. More...

#include <persistence1d.hpp>

Public Attributes

int LeftEdgeIndex
 A component is defined by the indices of its edges. More...
 
int RightEdgeIndex
 
int MinIndex
 The index of the local minimum within the component as longs as its alive. More...
 
float MinValue
 The value of the Data[MinIndex]. More...
 
bool Alive
 Set to true when a component is created. More...
 

Detailed Description

Defines a component within the data domain.

A component is created at a local minimum - a vertex whose value is smaller than both of its neighboring vertices' values.

Definition at line 49 of file persistence1d.hpp.

Member Data Documentation

◆ Alive

bool p1d::TComponent::Alive

Set to true when a component is created.

Once components are merged, the destroyed component Alive value is set to false. Used to verify correctness of algorithm.

Definition at line 66 of file persistence1d.hpp.

◆ LeftEdgeIndex

int p1d::TComponent::LeftEdgeIndex

A component is defined by the indices of its edges.

Both variables hold the respective indices of the vertices in Data vector. All vertices between them are considered to belong to this component.

Definition at line 54 of file persistence1d.hpp.

◆ MinIndex

int p1d::TComponent::MinIndex

The index of the local minimum within the component as longs as its alive.

Definition at line 58 of file persistence1d.hpp.

◆ MinValue

float p1d::TComponent::MinValue

The value of the Data[MinIndex].

Definition at line 61 of file persistence1d.hpp.

◆ RightEdgeIndex

int p1d::TComponent::RightEdgeIndex

Definition at line 55 of file persistence1d.hpp.


The documentation for this struct was generated from the following file: