CFEL - ASG Software Suite
2.5.0
CASS
|
will find pixels by comparing them to a "noise" map More...
#include <above_noise_finder.h>
Public Member Functions | |
AboveNoiseFinder () | |
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 | |
CommonData::shared_pointer | _commondata |
the global data container for the detector More... | |
float | _multiplier |
how many times the value of the pixel needs to be higher than the standart deviation 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... | |
will find pixels by comparing them to a "noise" map
This HLL like finding of pixels will compare the pixel values to a "noise" Map (see cass::pixeldetector::CommonData::noiseMap).
Definition at line 33 of file above_noise_finder.h.
AboveNoiseFinder::AboveNoiseFinder | ( | ) |
constructor
Definition at line 18 of file above_noise_finder.cpp.
|
virtual |
load the settings of this
s | the CASSSettings object to read the information from |
Implements cass::pixeldetector::PixelFinderBase.
Definition at line 39 of file above_noise_finder.cpp.
References QSettings::beginGroup(), QSettings::endGroup(), cass::pixeldetector::DetectorName::fromSettings(), cass::pixeldetector::CommonData::instance(), and QSettings::value().
|
virtual |
find the pixels
take the input frame and search it for pixels which are put into the list of pixels.
Will go through the whole frame and compare each pixel whether its value is bigger than _multiplier * noise taken from the noiseMap. If this is the case it will be added to the list of pixels.
frame | the frame containing the pixels of interest |
pixels | the list of pixels that should be found |
Implements cass::pixeldetector::PixelFinderBase.
Definition at line 21 of file above_noise_finder.cpp.
References cass::pixeldetector::Frame::columns, cass::pixeldetector::Frame::data, noise, cass::ACQIRIS::x, and cass::ACQIRIS::y.
|
private |
the global data container for the detector
Definition at line 62 of file above_noise_finder.h.
|
private |
how many times the value of the pixel needs to be higher than the standart deviation
Definition at line 65 of file above_noise_finder.h.