|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Analyzer-guided feature extractor with enum-based configuration. More...
#include <FeatureExtractor.hpp>
Inheritance diagram for MayaFlux::Yantra::FeatureExtractor< InputType, OutputType >:
Collaboration diagram for MayaFlux::Yantra::FeatureExtractor< InputType, OutputType >:Public Types | |
| using | input_type = IO< InputType > |
| using | output_type = IO< OutputType > |
| using | base_type = UniversalExtractor< InputType, OutputType > |
Public Member Functions | |
| FeatureExtractor (uint32_t window_size=512, uint32_t hop_size=256, ExtractionMethod method=ExtractionMethod::HIGH_ENERGY_DATA) | |
| Construct FeatureExtractor with default parameters. | |
| ExtractionType | get_extraction_type () const override |
| Get extraction type category. | |
| std::vector< std::string > | get_available_methods () const override |
| Get available extraction methods. | |
| void | set_extraction_method (ExtractionMethod method) |
| Set extraction method using enum. | |
| void | set_extraction_method (const std::string &method_name) |
| Set extraction method using string (case-insensitive) | |
| ExtractionMethod | get_extraction_method () const |
| Get current extraction method. | |
| void | set_window_size (uint32_t size) |
| Set window size for analysis. | |
| void | set_hop_size (uint32_t size) |
| Set hop size for analysis. | |
| uint32_t | get_window_size () const |
| Get current window size. | |
| uint32_t | get_hop_size () const |
| Get current hop size. | |
| bool | validate_extraction_input (const input_type &input) const override |
| Input validation. | |
| std::string | get_extractor_name () const override |
| Get extractor name. | |
Static Public Member Functions | |
| static std::string | method_to_string (ExtractionMethod method) |
| Convert extraction method enum to string. | |
| static ExtractionMethod | string_to_method (const std::string &str) |
| Convert string to extraction method enum. | |
Protected Member Functions | |
| output_type | extract_implementation (const input_type &input) override |
| Core extraction implementation - delegates to ExtractionHelper. | |
| void | set_extraction_parameter (const std::string &name, std::any value) override |
| Handle extractor-specific parameters. | |
| std::any | get_extraction_parameter (const std::string &name) const override |
Private Member Functions | |
| void | validate_parameters () const |
| Validate extraction parameters. | |
Private Attributes | |
| uint32_t | m_window_size |
| uint32_t | m_hop_size |
| ExtractionMethod | m_method |
Analyzer-guided feature extractor with enum-based configuration.
Uses analyzers to identify regions of interest based on energy, statistical properties, or spectral characteristics, then extracts the actual data from those regions. All extraction logic is delegated to ExtractionHelper functions.
Definition at line 62 of file FeatureExtractor.hpp.