SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeasurementFrameInfoTask.cpp
Go to the documentation of this file.
1 
19 
20 
23 
24 namespace SourceXtractor {
25 
27  auto frame = source.getProperty<MeasurementFrame>(m_instance).getFrame();
28  auto width = frame->getOriginalImage()->getWidth();
29  auto height = frame->getOriginalImage()->getHeight();
30 
32  frame->getGain(), frame->getSaturation(),
33  frame->getVarianceThreshold(), frame->getBackgroundMedianRms());
34 }
35 
36 } // SEImplementation namespace
37 
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
void setIndexedProperty(std::size_t index, Args...args)
Convenience template method to call setProperty() with a more user-friendly syntax.
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.