24 Detector::frame_t::const_iterator
pixel(frame.
data.begin());
25 Detector::frame_t::const_iterator
noise(_commondata->noiseMap.begin());
29 if(*noise * _multiplier < *
pixel)
31 const uint16_t
x(idx % frame.
columns);
32 const uint16_t
y(idx / frame.
columns);
44 _multiplier = s.
value(
"Multiplier",4.).toFloat();
void loadSettings(CASSSettings &s)
load the settings of this
contains hll like finder for pixels
std::vector< Pixel > pixels_t
the list of pixels
uint16_t columns
how many columns
static std::string fromSettings(const CASSSettings &s)
retrieve it from the casssettings
value(const QString &key, const QVariant &defaultValue=QVariant()
A Frame of an advance Pixel Detector.
Detector::frame_t data
the frame data
AboveNoiseFinder()
constructor
file contains specialized class that do the settings for cass
pixels_t & operator()(const Frame &frame, pixels_t &pixels)
find the pixels
static shared_pointer instance(const instancesmap_t::key_type &detector)
static function creating instance of this.
int16_t pixel
define a pixel
beginGroup(const QString &prefix)
set up how to create the noise