Defines module to produce depth map via spherical projection of the point cloud.
◆ dwConstDepthMapCreatorHandle_t
◆ dwDepthMapCreatorHandle_t
◆ dwDepthMapCreatorProcessPassType
Defines depth map creation processing pass type.
◆ dwDepthMapCreatorPass
Enumerator |
---|
DW_DEPTHMAP_CREATOR_PASS_PROCESS_GPU_ASYNC | |
DW_DEPTHMAP_CREATOR_PASS_PROCESS_CPU | |
Definition at line 193 of file DepthMapCreator.h.
◆ dwDepthMapCreatorProcessPassType
Defines depth map creation processing pass type.
Enumerator |
---|
DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_COMPLETE_SYNC | This processing pass type includes both GPU and CPU passes.
|
DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_FIRST_GPU_ASYNC | This processing pass type includes only GPU asynchronous pass This is a first processing step of the depth map creation algorithm.
|
DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_SECOND_CPU_SYNC | This processing pass type includes only CPU synchronous pass This is a second processing step of the depth map creation algorithm.
|
DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_COUNT | The last possible type value which defines a valid range of types.
|
Definition at line 46 of file DepthMapCreator.h.
◆ dwDepthMapCreator_bindInput()
Binds input point cloud to depth map creator.
- Parameters
-
[in] | pointCloud | Pointer to input buffer |
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_HANDLE | when neither of given handle is valid
|
DW_INVALID_ARGUMENT | when point cloud input is nullptr |
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_bindOutputDepthMap()
Binds output depth map.
- Parameters
-
[in] | depthMapHandle | Pointer to output depth map. Note: if the output point cloud is defined earlier it will be discarded |
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_HANDLE | when given handle is not valid
|
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_bindOutputPointCloud()
Binds output point cloud (alternative output buffer)
- Parameters
-
[in] | pointCloud | Pointer to output point cloud. Note: if the output depth map is defined earlier it will be discarded |
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_HANDLE | when given handle is not valid
|
DW_INVALID_ARGUMENT | when point cloud input is nullptr |
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_getCUDAStream()
Get CUDA stream of depth map creator.
- Parameters
-
[out] | stream | Pointer to CUDA stream handle |
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_ARGUMENT | when given stream pointer is invalid
|
DW_INVALID_HANDLE | when given handle is valid
|
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_getDefaultParams()
Get default depth map creator parameters.
- Parameters
-
[out] | params | Pointer to depth map creator parameters |
[in] | lidarProps | lidar sensor properties |
- Return values
-
DW_INVALID_ARGUMENT | when given param pointer is invalid |
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_initialize()
Initialize the module.
- Parameters
-
[out] | depthMapCreatorHandle | Pointer to depth map creator handle |
[in] | params | Pointer to depth map creator parameters |
[in] | ctx | DW context handle |
- Return values
-
DW_INVALID_ARGUMENT | when given pointer is invalid |
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: No
- De-Init: No
◆ dwDepthMapCreator_process()
Organize input point cloud to output depth map.
- Parameters
-
[in] | depthMapCreatorHandle | Handle to depth map creator |
[in] | passType | processing step type |
- Return values
-
DW_INVALID_HANDLE | when given handle is not valid
|
DW_CALL_NOT_ALLOWED | when no input/output buffer is bound |
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_release()
Release depth map creator.
- Parameters
-
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_HANDLE | when given handle is valid
|
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: No
- De-Init: Yes
◆ dwDepthMapCreator_reset()
Reset depth map creator.
- Parameters
-
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_HANDLE | when given handle is invalid |
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes
◆ dwDepthMapCreator_setCUDAStream()
Set CUDA stream of depth map creator.
- Parameters
-
[in] | stream | Handle to CUDA stream |
[in] | depthMapCreatorHandle | Handle to depth map creator |
- Return values
-
DW_INVALID_HANDLE | when given handle is valid
|
DW_SUCCESS | when operation succeeded |
- API Group
- Init: Yes
- Runtime: Yes
- De-Init: Yes