13 #include <vigra/linear_algebra.hxx>
14 #include <vigra/inspectimage.hxx>
15 #include <vigra/multi_pointoperators.hxx>
16 #include <vigra/separableconvolution.hxx>
void readTrainingMatrices()
int _xend
xend - ROI for calculations
std::vector< float >::iterator _kernelCenter
iterator to the center of the kernel
pp300(const name_t &)
constructor
Event to store all LCLS Data.
int _ystart
ystart - ROI for calculations
std::vector< float > _kernel
array containing the kernel
virtual void loadSettings(size_t)
load the settings for this pp
const name_t name() const
retrieve the name of this processor
shared_pointer _pHist
the histogram to work on
pp313(const name_t &name)
constructor
void printTrainingMatrices()
QMutex _mutex
mutex to lock the processing part since only one can be processed at a time
virtual ~pp300()
virtual destructor
int _yend
yend - ROI for calculations
virtual void clearHistogramEvent()
shared_pointer _pHist
pp containing input histogram
convolute histogram with kernel
virtual void process(const CASSEvent &, result_t &)
check if image specified in settings contains a single particle hit
base class for processors.
int _trainingSetsInserted
int _readTraining
if filename is given in settings, load instead of calculate
int _kleft
element to the left of the kernel center
vigra::Matrix< double > matrixType
matrixType _variationFeatures
virtual void processCommand(std::string command)
process command in pp
int _kright
elements to the right of the kernel center
virtual void loadSettings(size_t)
load the settings of the pp
int _saveTraining
user setting: do (default) or don't save training matrices to file
void saveTrainingMatrices()
file contains processors baseclass declaration
virtual void process(const CASSEvent &, result_t &)
process event
std::string name_t
define the name type
std::tr1::shared_ptr< Processor > shared_pointer
a shared pointer of this
int _xstart
xstart - ROI for calculations
std::string _trainingFile
optional user-setting: filename to read training from