IDS peak ICV v1.2.0
Loading...
Searching...
No Matches
processing_policy.py
Go to the documentation of this file.
1from enum import Enum
2
3
4class ProcessingPolicy(Enum):
5 """!
6 @brief
7 Specifies the processing policy.
8
9 Defines how the image processing pipeline handles bit depth conversions
10 during processing, balancing performance and image quality.
11
12 Warning:
13 Changing the processing policy during active processing may cause
14 inconsistent results. Set the policy before starting image processing
15 operations.
16
17 See Also:
18 - DefaultPipeline.processing_policy
19
20 @since ids_peak_icv 1.0
21 @ingroup ids_peak_icv_python_pipeline_types
22 """
23
24 FAST = 1
25 """!
26 @brief Prefer speed.
27
28 Reduces the bit depth of the input image at the earliest suitable stage
29 if the target bit depth is lower. Prioritizes performance over image quality.
30
31 @since ids_peak_icv 1.0
32 """
33
34 BALANCED = 2
35 """!
36 @brief Balance speed and quality.
37
38 Retains the original bit depth throughout processing until the final
39 pixel format conversion. Provides a trade-off between performance and quality.
40
41 @since ids_peak_icv 1.0
42 """
43
44 ENHANCED = 3
45 """!
46 @brief Prefer quality.
47
48 Increases the bit depth of the input image for all processing steps,
49 if the target bit depth is higher. Prioritizes improved image quality
50 over performance.
51
52 @since ids_peak_icv 1.0
53 """