![]() |
Perception Tool Kit (PTK) API Guide
|
Data Structures | |
| struct | PTK_Alg_StereoPP_HoleFilling_configParams |
| Stereo Post-Processing 1-D Hole Filling algorithm - config Parameters. More... | |
| struct | PTK_Alg_StereoPP_HoleFillingObj |
| Stereo algorithm - 1-D hole filling context. More... | |
Functions | |
| void | PTK_Alg_StereoPP_HoleFillingSetParams (PTK_Alg_StereoPP_HoleFilling_configParams *cfg, PTK_Alg_StereoPP_HoleFillingObj *cntxt) |
| Initialize hole filling parameters. More... | |
| int32_t | PTK_Alg_StereoPP_HoleFillingConfig (PTK_Alg_StereoPP_HoleFilling_configParams *cfg, PTK_Api_MemoryReq *memReq) |
| Computes the memory requirements based on the given algorithm configuration parameters. More... | |
| PTK_AlgHandle | PTK_Alg_StereoPP_HoleFillingInit (PTK_Alg_StereoPP_HoleFilling_configParams *cfg, const PTK_Api_MemoryRsp *memRsp) |
| Initializes the library based on the given algorithm configuration parameters and allocated memory blocks. More... | |
| int32_t | PTK_Alg_StereoPP_HoleFillingGetMem (PTK_Alg_StereoPP_HoleFillingObj *cntxt, uint8_t *memPtr) |
| Get memory size. More... | |
| void | PTK_Alg_StereoPP_runHoleFilling (PTK_Alg_StereoPP_HoleFillingObj *cntxt, int16_t *disparityBuffer, int16_t stride) |
| Run 1-D horizontal hole filling. More... | |
| void PTK_Alg_StereoPP_HoleFillingSetParams | ( | PTK_Alg_StereoPP_HoleFilling_configParams * | cfg, |
| PTK_Alg_StereoPP_HoleFillingObj * | cntxt | ||
| ) |
Initialize hole filling parameters.
| [in] | cfg | configuration parameters for hole filling |
| [in] | cntxt | hole filling algorithm context |
| int32_t PTK_Alg_StereoPP_HoleFillingConfig | ( | PTK_Alg_StereoPP_HoleFilling_configParams * | cfg, |
| PTK_Api_MemoryReq * | memReq | ||
| ) |
Computes the memory requirements based on the given algorithm configuration parameters.
| [in] | cntxt | Algorithm configuration parameters. |
| [in] | memReq | Memory requirements as specified below
|
| PTK_AlgHandle PTK_Alg_StereoPP_HoleFillingInit | ( | PTK_Alg_StereoPP_HoleFilling_configParams * | cfg, |
| const PTK_Api_MemoryRsp * | memRsp | ||
| ) |
Initializes the library based on the given algorithm configuration parameters and allocated memory blocks.
| [in] | allParams | Algorithm configuration parameters. |
| [in] | memRsp | Memory blocks as specified below |
| int32_t PTK_Alg_StereoPP_HoleFillingGetMem | ( | PTK_Alg_StereoPP_HoleFillingObj * | cntxt, |
| uint8_t * | memPtr | ||
| ) |
Get memory size.
| [in,out] | cntxt | Algorithm handle. |
| [in] | memory | block pointer |
| void PTK_Alg_StereoPP_runHoleFilling | ( | PTK_Alg_StereoPP_HoleFillingObj * | cntxt, |
| int16_t * | disparityBuffer, | ||
| int16_t | stride | ||
| ) |
Run 1-D horizontal hole filling.
| [in] | cntxt | algorithm handle |
| [in,out] | disparityBuffer | disparity buffer |
| [in] | stride | stride of disparity buffer |