Inheritance diagram for w2img::PixelValueCorrelogram:
Public Member Functions | |
PixelValueCorrelogram (size_t maxRangeInPixels=10) | |
The correlogram is estimated as a function of range. | |
void | update (const code::Image< float > &image) |
create or update a correlogram based on the data in this image | |
virtual | ~PixelValueCorrelogram () |
virtual size_t | getAverageDistance () const |
What is the average distance between samples? | |
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. | |
Protected Member Functions | |
Sample & | operator[] (size_t dist) |
Protected Attributes | |
std::vector< Sample > | func |
w2img::PixelValueCorrelogram::PixelValueCorrelogram | ( | size_t | maxRangeInPixels = 10 |
) |
The correlogram is estimated as a function of range.
So, provide the maximum range that we should consider (in pixels).
virtual w2img::PixelValueCorrelogram::~PixelValueCorrelogram | ( | ) | [inline, virtual] |
virtual size_t w2img::PixelValueCorrelogram::getAverageDistance | ( | ) | const [inline, virtual] |
Sample& w2img::Correlogram::operator[] | ( | size_t | dist | ) | [inline, protected, inherited] |
const Sample& w2img::Correlogram::operator[] | ( | size_t | dist | ) | const [inline, inherited] |
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 [inline, inherited] |
Distance to which we have samples available.
void w2img::PixelValueCorrelogram::update | ( | const code::Image< float > & | image | ) |
create or update a correlogram based on the data in this image
bool w2img::Correlogram::write | ( | const std::string & | filename | ) | const [inherited] |
Write the correlogram values in a format fit to be easily plotted.
std::vector< Sample > w2img::Correlogram::func [protected, inherited] |