SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MeasurementFrameInfoTask.cpp
Go to the documentation of this file.
1
19
20
23
24namespace SourceXtractor {
25
27 auto frame = source.getProperty<MeasurementFrame>(m_instance).getFrame();
28 auto width = frame->getOriginalImage()->getWidth();
29 auto height = frame->getOriginalImage()->getHeight();
30
31 source.setIndexedProperty<MeasurementFrameInfo>(m_instance, width, height,
32 frame->getGain(), frame->getSaturation(),
33 frame->getVarianceThreshold(), frame->getBackgroundMedianRms());
34}
35
36} // SEImplementation namespace
37
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract "source" that has properties attached to it.