The autofeature manager.
More...
#include <peak_afl/peak_afl.hpp>
◆ Manager()
| Manager |
( |
const std::shared_ptr< peak::core::NodeMap > & | node_map | ) |
|
|
inlineexplicit |
Create an automanager instance.
Creates an automanager instance.
- Parameters
-
| [in] | node_map | the shared pointer to the device nodemap |
- Exceptions
-
- Since
- 1.1
◆ AddController()
| void AddController |
( |
const std::shared_ptr< Controller > & | controller | ) |
|
|
inline |
Add a controller to an automanager.
An autocontroller instance can only be added to one autofeature manager at the same time. The same type can only be added one time.
- Parameters
-
| [in] | controller | shared_ptr to a controller |
- Exceptions
-
- Since
- 1.1
◆ ControllerCount()
| size_t ControllerCount |
( |
| ) |
const |
|
inline |
Get the list count of the controller associated with the manager.
- Returns
- number of controllers in list
- Since
- 1.1
◆ ControllerList()
| std::vector< std::shared_ptr< Controller > > ControllerList |
( |
| ) |
const |
|
inline |
Get the list of the controller associated with the manager.
- Returns
- controller list
- Since
- 1.1
◆ CreateController()
Create a controller and append it to Manager.
Convenience function to create an autofeature controller and add it to the manager. The same type can only be added one time.
- Parameters
-
- Returns
- the shared ptr to the created controller
- Exceptions
-
- Since
- 1.1
◆ DestroyAllController()
| void DestroyAllController |
( |
| ) |
|
|
inline |
Destroy all controllers for a manager.
After this operation all controllers associated with the given manager will be invalid.
- Exceptions
-
- Since
- 1.1
◆ DestroyController()
| void DestroyController |
( |
const std::shared_ptr< Controller > & | controller | ) |
|
|
inline |
Destroy a controller.
After this operation the controller will be invalid.
- Parameters
-
| [in] | controller | shared ptr to a controller |
- Exceptions
-
◆ GetController()
Get the controller for a type.
- Parameters
-
- Returns
- controller
- Exceptions
-
- Since
- 1.1
◆ IsControllerSupported()
Get if the given controller type is supported.
- Parameters
-
- Returns
- True if controller is supported
- Since
- 1.11
◆ Process()
| void Process |
( |
const peak::ipl::Image & | image | ) |
const |
|
inline |
Process an image.
Processes an image.
- Parameters
-
| [in] | image | an peak::ipl::Image image |
- Exceptions
-
- Since
- 1.1
◆ RemoveController()
| void RemoveController |
( |
const std::shared_ptr< Controller > & | controller | ) |
|
|
inline |
Remove a controller from an automanager.
Remove a controller from a manager. For a function which destroys the object in one call, see peak_afl_AutoFeatureManager_DestroyController.
- Parameters
-
| [in] | controller | shared_ptr to a controller |
- Exceptions
-
- Since
- 1.1
◆ SetCCM()
| void SetCCM |
( |
std::array< float, 9 > | ccm | ) |
|
|
inline |
Set the Color Correction Matrix (CCM)
Sets a 3x3 color correction matrix for the auto feature manager. The CCM is used to correct color values during image processing. The matrix should be provided as a std::array of 9 float values in row-major order: [R->R, R->G, R->B, G->R, G->G, G->B, B->R, B->G, B->B].
- Parameters
-
| [in] | ccm | std::array of 9 float values representing the 3x3 CCM in row-major order |
- Exceptions
-
- Since
- 1.8
◆ SetGainIPL()
| void SetGainIPL |
( |
const peak::ipl::Gain & | gain | ) |
|
|
inline |
Sets the ipl gain.
- Parameters
-
| [in] | gain | an peak::ipl::Gain gain |
- Exceptions
-
- Since
- 1.2
◆ Status()
Get the status of a manager.
The returned value will contain whether the manager currently processes an image (true) or is idle (false).
- Returns
- manager status
- Exceptions
-
- Since
- 1.1
The documentation for this class was generated from the following file: