This class localizes the most important peak within an image, removes it and provide peak statistics. The mother class is abstract. Through its derivated classes, peak detection could be done using different methods (max, fitting, interpolation). The accuracy of each peak is estimated from its deviation from a parabolic or gaussian signal. The peak is removed from the input image for further second, third ... peak detection.
More...
#include <Cpeak.h>
|
| Cpeak () |
|
virtual void | exec (CImg< T > &img) |
|
virtual void | peak_detection (CImg< T > &img)=0 |
|
void | set_peakDim (CImg< T > &img) |
|
virtual void | peak_accuracy (CImg< T > &img) |
|
virtual void | peak_delete (CImg< T > &img) |
|
void | set_origin (CImg< T > &img) |
|
std::vector< T > | content () |
|
|
std::string | class_name |
|
T | m_flag |
|
T | m_mag |
|
std::vector< T > | m_pos |
|
int | _3D |
|
bool | m_verbose |
|
template<typename T>
class Cpeak< T >
This class localizes the most important peak within an image, removes it and provide peak statistics. The mother class is abstract. Through its derivated classes, peak detection could be done using different methods (max, fitting, interpolation). The accuracy of each peak is estimated from its deviation from a parabolic or gaussian signal. The peak is removed from the input image for further second, third ... peak detection.
- Parameters
-
[in] | typename | T : refer to output peak stats type |
| typename | T : refer to input CImg<T> image type |
| attribute | m_ : <T> m_x0, m_y0, m_mu, m_flag |
Class Cpeak constructor. It initializes peak statistics, c.a.d. (m_x0, m_y0, m_mu, m_flag)
template<typename T>
std::vector<T> Cpeak< T >::content |
( |
| ) |
|
|
inline |
Allow accessing to attribute read only
template<typename T>
virtual void Cpeak< T >::peak_accuracy |
( |
CImg< T > & |
img | ) |
|
|
inlinevirtual |
accuracy: need to be improved
template<typename T>
virtual void Cpeak< T >::peak_delete |
( |
CImg< T > & |
img | ) |
|
|
inlinevirtual |
del : need to be improved
Class Cpeak method : del. It removes the highest image peak considering either an elliptic patch : : or the peak fitting equation
- Todo:
- [medium] set patch size from class member (e.g. set by autocorrelation for PIV)
The documentation for this class was generated from the following file:
- /home/rian/Documents/PostDoc/LML/Yadics/YaDICs_Project/YaDICs_V04.14.a/Cpeak.h