SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
DetectionFrameImages
DetectionFrameImagesTask.cpp
Go to the documentation of this file.
1
18
#include "
SEFramework/Property/DetectionFrame.h
"
19
#include "
SEImplementation/Plugin/DetectionFrameImages/DetectionFrameImages.h
"
20
#include "
SEImplementation/Plugin/DetectionFrameImages/DetectionFrameImagesTask.h
"
21
22
namespace
SourceXtractor
{
23
24
void
DetectionFrameImagesTask::computeProperties
(
SourceInterface
&
source
)
const
{
25
auto
frame
=
source
.getProperty<
DetectionFrame
>().getFrame();
26
auto
width =
frame
->getOriginalImage()->getWidth();
27
auto
height =
frame
->getOriginalImage()->getHeight();
28
29
source
.setProperty<
DetectionFrameImages
>(
frame
, width, height);
30
}
31
32
}
// SEImplementation namespace
33
DetectionFrameImagesTask.h
DetectionFrameImages.h
DetectionFrame.h
SourceXtractor::DetectionFrameImagesTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition
DetectionFrameImagesTask.cpp:24
SourceXtractor::DetectionFrameImages
Definition
DetectionFrameImages.h:30
SourceXtractor::DetectionFrame
Definition
DetectionFrame.h:33
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition
SourceInterface.h:46
std::function
SourceXtractor
Definition
Aperture.h:30
Generated by
1.10.0