Inheritance diagram for w2img::Correlogram:
The correlogram is describes the correlation between samples as a function of the distance between those samples.
Public Member Functions
|bool||write (const std::string &filename) const|
|Write the correlogram values in a format fit to be easily plotted. |
|const Sample &||operator (size_t dist) const|
|get the correlation between two samples separated by dist pixels in an euclidean framework. |
|size_t||size () const|
|Distance to which we have samples available. |
|virtual size_t||getAverageDistance () const =0|
|What is the average distance between samples? |
Protected Member Functions
|Sample &||operator (size_t dist)|
|Correlogram (size_t num_samples=0)|
|std::vector< Sample >||func|
|Fit a gaussian to a correlogram. More...|
|Describes correlation of samples separated by a distance h Typical usage is to keep calling update() with new sample pairs and then call rho() whenever the correlation is needed. More...|
|w2img::Correlogram::Correlogram||(||size_t|| num_samples =
|virtual size_t w2img::Correlogram::getAverageDistance||(||)|| const
|const Sample& w2img::Correlogram::operator||(||size_t||dist||)|| const
get the correlation between two samples separated by dist pixels in an euclidean framework.
dist has to be less than getMaxDistanceInPixels()
|size_t w2img::Correlogram::size||(||)|| const
Distance to which we have samples available.
|bool w2img::Correlogram::write||(||const std::string &||filename||)||const|
Write the correlogram values in a format fit to be easily plotted.