SourceXtractorPlusPlus  0.12
Please provide a description of the project.
DetectionFrameImagesTask.cpp
Go to the documentation of this file.
1 
20 
23 
24 namespace SourceXtractor {
25 
28 
29  auto frame = source.getProperty<DetectionFrame>().getFrame();
30  auto width = frame->getOriginalImage()->getWidth();
31  auto height = frame->getOriginalImage()->getHeight();
32 
33  source.setProperty<DetectionFrameImages>(frame, width, height);
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.
T lock(T... args)
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.