#include <Signal1D.hpp>
Inheritance diagram for Signal1Df:
Public Member Functions | |
void | ChangeSupport (float _x0, float _x1) |
pair< float, float > | GetSupport () |
int | NbSambles () const |
int | Size () const |
void | GnuPlot () const |
float | XToFSample (float x) const |
int | XToISample (float x) const |
float | ISampleToX (int i) const |
float & | operator[] (int i) |
float | operator[] (int i) const |
float | operator() (float x) const |
float & | SafeSample (size_t i) |
float | SafeSample (size_t i) const |
float | InterpolatedValue (float x) const |
linear interpolation | |
float & | Value (float rx) |
void | Stats2ndOrder (float &avg, float &sigma) const |
void | Smooth (int fradius=3) |
void | AddSampleAtBegining (float val) |
void | AddSampleAtEnd (float val) |
bool | operator== (const Signal1Df &other) |
bool | operator!= (const Signal1Df &other) |
Signal1Df (int _size, float _x0=0, float _x1=1) | |
Signal1Df (const string &filename) | |
Private Member Functions | |
void | Read (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL) |
Read this object, either from a current node, a parent node, or the root node of the file. | |
void | Write (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL) const |
Write this object, either to a current node, a parent node, or the root node of the file. | |
Private Attributes | |
float | x0 |
float | x1 |
vector< float > | values |
Signal values can be addressed as samples, or as being defined on a floating point segment (x0-x1) This is a very basic class. It's not intended for real signal processing. FIXME: more coherence with equivalent functionalities in 3D images FIXME: Signal1D should be template
Definition at line 34 of file Signal1D.hpp.