10 #ifndef _AUTOCORRELATION_H_
11 #define _AUTOCORRELATION_H_
86 typedef std::vector<std::pair<int,result_t::value_t> >
ring_t;
109 const int rad,
const int x0,
const int y0,
const int nxx,
void fillRing(const result_t &image, const int rad, const int x0, const int y0, const int nxx, ring_t &ring)
fill the ring with the pixels that belong to a certain radius around a given center ...
Event to store all LCLS Data.
virtual void process(const CASSEvent &, result_t &)
process the event
calculate the autocorrelation of an image
virtual void loadSettings(size_t)
load the settings of this pp
std::pair< int, int > _center
the used center of the image
virtual void process(const CASSEvent &, result_t &)
process the event
int _maxrad
the used maximum radius
int getCircleLength(const int rad)
retrieve the length of the ring for a given radius
base class for processors.
pp311(const name_t &)
constructor
virtual void loadSettings(size_t)
load the settings of this pp
pp310(const name_t &)
constructor
shared_pointer _hist
pp containing histogram to calculate the autocorrelation for
std::vector< std::pair< int, result_t::value_t > > ring_t
define a ring that knows its position in the original image and the value at that position ...
file contains processors baseclass declaration
shared_pointer _hist
pp containing histogram to calculate the autocorrelation for
calculate the autocorrelation of an image in radial coordinates
std::string name_t
define the name type
std::tr1::shared_ptr< Processor > shared_pointer
a shared pointer of this