CFEL - ASG Software Suite
2.5.0
CASS
|
within range More...
#include <pixel_finder_simple.h>
Public Member Functions | |
WithinRange () | |
constructor More... | |
pixels_t & | operator() (const Frame &frame, pixels_t &pixels) |
find the pixels More... | |
void | loadSettings (CASSSettings &s) |
load the settings of this More... | |
![]() | |
virtual | ~PixelFinderBase () |
virtual destructor More... | |
Private Attributes | |
std::pair< Detector::pixel_t, Detector::pixel_t > | _range |
the threshold above which the pixels have to be More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
static shared_pointer | instance (const std::string &type) |
create an instance of the requested functor More... | |
within range
will check whether pixels are within a user set range.
PixelDetectors/%name%/InRangeFinder/{LowerThreshold}
The threshold above which the pixels have to be. Default is 0.
PixelDetectors/%name%/InRangeFinder/{UpperThreshold}
The threshold above which the pixels have to be. Default is 1e6.
Definition at line 122 of file pixel_finder_simple.h.
WithinRange::WithinRange | ( | ) |
constructor
Definition at line 112 of file pixel_finder_simple.cpp.
|
virtual |
load the settings of this
s | the CASSSettings object to read the information from |
Implements cass::pixeldetector::PixelFinderBase.
Definition at line 133 of file pixel_finder_simple.cpp.
References QSettings::beginGroup(), QSettings::endGroup(), and QSettings::value().
|
virtual |
find the pixels
checks whether the pixel is in the user set range. If so add it to the pixel list.
frame | the frame containing the pixels of interest |
pixels | the list of pixels that should be found |
Implements cass::pixeldetector::PixelFinderBase.
Definition at line 115 of file pixel_finder_simple.cpp.
References cass::pixeldetector::Frame::columns, cass::pixeldetector::Frame::data, cass::ACQIRIS::x, and cass::ACQIRIS::y.
|
private |
the threshold above which the pixels have to be
Definition at line 147 of file pixel_finder_simple.h.