Defines LightSourceDetector module for light source detection.
Enumerations | |
| enum | dwLightSourceDetectorStage { DW_LSP_DETECTOR_STAGE_GPU_PREPROCESS = 0, DW_LSP_DETECTOR_STAGE_GPU_INFERENCE = 1, DW_LSP_DETECTOR_STAGE_CPU_POSTPROCESS = 2 } |
Functions | |
| DW_API_PUBLIC dwStatus | dwLightSourceDetector_bindInput (const dwImageCUDA *imageRGB, const dwImageCUDA *imageBayer, dwLightSourceDetectorHandle_t obj) |
| Binds the input images to the detector. More... | |
| DW_API_PUBLIC dwStatus | dwLightSourceDetector_bindOutput (dwLightSourceDetectorOutput *output, dwLightSourceDetectorHandle_t obj) |
| Bind the ouput of the detector to object. More... | |
| DW_API_PUBLIC dwStatus | dwLightSourceDetector_process (dwLightSourceDetectorStage stage, dwLightSourceDetectorHandle_t obj) |
| Perform object detection stages. More... | |
Definition at line 63 of file LspDetector_processPipeline.h.
| DW_API_PUBLIC dwStatus dwLightSourceDetector_bindInput | ( | const dwImageCUDA * | imageRGB, |
| const dwImageCUDA * | imageBayer, | ||
| dwLightSourceDetectorHandle_t | obj | ||
| ) |
Binds the input images to the detector.
| [in] | imageRGB | Pointer to RGB image where the detector is to be applied. |
| [in] | imageBayer | Pointer to Bayer image where we apply linear HDR threshold. |
| [in] | obj | Specifies the LspDetector handle. |
| DW_API_PUBLIC dwStatus dwLightSourceDetector_bindOutput | ( | dwLightSourceDetectorOutput * | output, |
| dwLightSourceDetectorHandle_t | obj | ||
| ) |
Bind the ouput of the detector to object.
| [in,out] | output | Pointer to an object output structure. |
| [in] | obj | Specifies the LightSourceDetector handle. |
| DW_API_PUBLIC dwStatus dwLightSourceDetector_process | ( | dwLightSourceDetectorStage | stage, |
| dwLightSourceDetectorHandle_t | obj | ||
| ) |
Perform object detection stages.
Inputs and outputs must be bound before this call.
| [in] | stage | Processing stage to run. |
| [in] | obj | Specifies the LightSourceDetector handle. |