![]() |
PVCAM
3.9.x
Programmable Virtual Camera Access Method library
|
Most PVCAM-compatible cameras offer on-board post-processing (PP) capabilities. PVCAM provides a mechanism for discovering the available post-processing features and their parameters.
All the post-processing features and parameters are controlled via a set of PVCAM parameters (see Parameter Access Functions chapter for details) which can be viewed as a tree where each PP feature has a different number of PP parameters. Typically, PP features and their parameters are discovered in the following order:
PVCAM API contains a single post-processing control function:
All the existing post-processing features are listed in PP_FEATURE_IDS enum in pvcam.h header file.
Please note that the feature names in this list and actual advertised names may differ. For example, the feature advertised as PrimeEnhance is named Denoising (PP_FEATURE_DENOISING) in the PVCAM SDK.
Refer to your camera documentation for more details.
Most cameras only support a subset of the exisiting post-processing features, thus dynamic feature discovery is always required.
To identify and cache available post-processing features and parameters, the application code should traverse the post-processing tree:
ppFeatCount-1
:ppParamCount-1
:Traversing the tree of all PP features and parameters whenever a value has to be changed (e.g. to enable or disable Denoising feature) is not required. After caching all indexes and IDs during the initial discovery, any value can be changed following the steps in the example pseudo-code below: