CFEL - ASG Software Suite
2.5.0
CASS
|
base class for pixel finders More...
#include <pixel_finder_base.h>
Public Types | |
typedef std::tr1::shared_ptr< PixelFinderBase > | shared_pointer |
typedef the shared pointer of this More... | |
typedef std::vector< Pixel > | pixels_t |
the list of pixels More... | |
Public Member Functions | |
virtual | ~PixelFinderBase () |
virtual destructor More... | |
virtual pixels_t & | operator() (const Frame &frame, pixels_t &pixels)=0 |
find the pixels More... | |
virtual void | loadSettings (CASSSettings &s)=0 |
load the settings of this More... | |
Static Public Member Functions | |
static shared_pointer | instance (const std::string &type) |
create an instance of the requested functor More... | |
base class for pixel finders
a pixel finder should identifiy the pixels of interest within a frame
Definition at line 67 of file pixel_finder_base.h.
typedef std::vector<Pixel> cass::pixeldetector::PixelFinderBase::pixels_t |
the list of pixels
Definition at line 74 of file pixel_finder_base.h.
typedef std::tr1::shared_ptr<PixelFinderBase> cass::pixeldetector::PixelFinderBase::shared_pointer |
typedef the shared pointer of this
Definition at line 71 of file pixel_finder_base.h.
|
inlinevirtual |
virtual destructor
Definition at line 77 of file pixel_finder_base.h.
|
static |
create an instance of the requested functor
type | the reqested type |
Definition at line 22 of file pixel_finder_base.cpp.
Referenced by cass::pixeldetector::AdvancedDetector::loadSettings().
|
pure virtual |
load the settings of this
s | the CASSSettings object to read the information from |
Implemented in cass::pixeldetector::WithinRange, cass::pixeldetector::PixelFinderSimpleMoreOptions, cass::pixeldetector::AboveNoiseFinder, and cass::pixeldetector::PixelFinderSimple.
|
pure virtual |
find the pixels
take the input frame and search it for pixels which are put into the list of pixels.
frame | the frame containing the pixels of interest |
pixels | the list of pixels that should be found |
Implemented in cass::pixeldetector::WithinRange, cass::pixeldetector::PixelFinderSimpleMoreOptions, cass::pixeldetector::AboveNoiseFinder, and cass::pixeldetector::PixelFinderSimple.