|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Settings of VisionExtractor, stored whole in the operation's facets. More...
#include <VisionExtractor.hpp>
Public Attributes | |
| float | edge_threshold { 0.5F } |
| Edge value edges() keeps a pixel at. | |
| size_t | element_index { 0 } |
| Element the single-element methods use when no focus is set: index into contours, else boxes. | |
| float | exposure_target { 0.5F } |
| Mean brightness expose() scales the frame to. | |
| std::optional< ElementFocus > | focus |
| Rank elements by shape instead of using a fixed index; empty keeps the index. | |
| Reflect::EnumByte< VisionExtractMode > | method { VisionExtractMode::Crop } |
| Which method the operation path dispatches to. | |
| float | min_activity { 0.0F } |
| motion_mask() limit: minimum motion_activity below which nothing is dispatched. | |
| float | min_confidence { 0.1F } |
| motion_mask() limit: minimum solver confidence. | |
| float | min_speed { 0.5F } |
| motion_mask() limits: minimum flow speed in pixels of the flow image. | |
| uint32_t | output_height { 0 } |
| uint32_t | output_width { 0 } |
| uint32_t | patch_height { 0 } |
| uint32_t | patch_width { 0 } |
| uint32_t | sample_radius { 1 } |
| Window radius sample_points() averages over. | |
| uint32_t | tile_height { 0 } |
| uint32_t | tile_width { 0 } |
| Public Attributes inherited from MayaFlux::Yantra::ExtractorConfig | |
| ExtractionScope | scope { ExtractionScope::FULL_DATA } |
| Portion of the input to extract from. | |
Additional Inherited Members | |
| Public Member Functions inherited from MayaFlux::Yantra::OperationConfig | |
| template<typename Op> | |
| void | apply_to (Op &operation) const |
| Apply retained concrete settings to an operation through its parent contract. | |
| template<typename T> | |
| const T * | get () const |
| The struct of this type, or nullptr when absent. | |
| OperationConfig ()=default | |
| template<typename Config> requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>) | |
| OperationConfig (Config &&config) | |
| Retain a concrete config whole when placed in a parent-config collection. | |
| OperationConfig (const OperationConfig &)=default | |
| OperationConfig (OperationConfig &&) noexcept=default | |
| OperationConfig & | operator= (const OperationConfig &)=default |
| OperationConfig & | operator= (OperationConfig &&) noexcept=default |
| template<typename T> | |
| void | set (T value) |
| Stores a struct under its type identity. | |
Settings of VisionExtractor, stored whole in the operation's facets.
method selects what the operation extracts and is what a grammar selects by. The rest are the thresholds and sizes the operation path uses; the direct methods take only the data and the dimensions of what they read or write.
Definition at line 106 of file VisionExtractor.hpp.