![]() |
Signapse
|
#include <PreProcessor.h>


Public Member Functions | |
| PreProcessor () | |
| PreProcessor (PreProcessorSettings settings) | |
| void | NextScene (Scene scene) |
| void | SetBoundingBox (float upperLeftX, float upperLeftY, float lowerRightX, float lowerRightY) |
Public Member Functions inherited from PipelineLink | |
| void | RegisterCallback (SceneCallback *scb) |
| virtual void | NextScene (Scene next)=0 |
Additional Inherited Members | |
| void | NextScene (Scene scene) |
Protected Attributes inherited from PipelineLink | |
| SceneCallback * | sceneCallback = nullptr |
A pipeline element to perform pre-processing required for Signapse. Adds region of interest, bounding box rectangle and switches pixel format for neural network.
Definition at line 8 of file PreProcessor.h.
| PreProcessor::PreProcessor | ( | ) |
Default constructor; inits default settings
Definition at line 30 of file PreProcessor.cpp.
| PreProcessor::PreProcessor | ( | PreProcessorSettings | s | ) |
| PreProcessorSettings | for initialisation |
Definition at line 25 of file PreProcessor.cpp.
|
virtual |
Handles processing the given scene and calling back to next pipeline element
| scene |
Reimplemented from PipelineLink.
Definition at line 10 of file PreProcessor.cpp.
| void PreProcessor::SetBoundingBox | ( | float | upperLeftX, |
| float | upperLeftY, | ||
| float | lowerRightX, | ||
| float | lowerRightY | ||
| ) |
Used to set the bounding box each scene is marked with. Set as float values in range [0-1] indicating fractional coordinates in the image frame.
| upperLeftX | |
| upperLeftY | |
| lowerRightX | |
| lowerRightY |
Definition at line 68 of file PreProcessor.cpp.