1from abc
import abstractmethod
9 Interface for modules that provide gain control functionality.
11 A gain module consists of a master gain value applied to all channels,
12 along with individual gain values for the red, green, and blue channels.
14 @since ids_peak_common 1.1
15 @ingroup ids_peak_common_python_pipeline_modules
23 Retrieves the current master gain value.
25 @return The master gain value.
27 @since ids_peak_common 1.1
33 def master(self, value: float) ->
None:
36 Sets the master gain value.
38 This value is applied uniformly to all color channels.
40 @param value: The master gain value to apply.
42 @since ids_peak_common 1.1
48 def red(self) -> float:
51 Retrieves the gain value for the red channel.
53 @return The red channel gain value.
55 @since ids_peak_common 1.1
61 def red(self, value: float) ->
None:
64 Sets the gain value for the red channel.
66 @param value: The gain value for the red channel.
68 @since ids_peak_common 1.1
77 Retrieves the gain value for the green channel.
79 @return The green channel gain value.
81 @since ids_peak_common 1.1
87 def green(self, value: float) ->
None:
90 Sets the gain value for the green channel.
92 @param value: The gain value for the green channel.
94 @since ids_peak_common 1.1
103 Retrieves the gain value for the blue channel.
105 @return The blue channel gain value.
107 @since ids_peak_common 1.1
113 def blue(self, value: float) ->
None:
116 Sets the gain value for the blue channel.
118 @param value: The gain value for the blue channel.
120 @since ids_peak_common 1.1
Interface for modules that provide gain control functionality.
float red(self)
Retrieves the gain value for the red channel.
float green(self)
Retrieves the gain value for the green channel.
float blue(self)
Retrieves the gain value for the blue channel.
float master(self)
Retrieves the current master gain value.
Interface for a module used within a pipeline.