MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ make_default_analyzer()

std::shared_ptr< RegionGroupAnalyzer< Kakshya::RegionGroup > > MayaFlux::Yantra::Granular::AttributeOp::make_default_analyzer ( AnalysisType  type)
staticprivate

Construct a default-configured analyzer for the given AnalysisType.

Parameters
typeAnalysis category.
Returns
Heap-allocated analyzer with sensible defaults.

Definition at line 406 of file GranularWorkflow.cpp.

407{
408 switch (type) {
410 return std::make_shared<EnergyAnalyzer<Kakshya::RegionGroup, Kakshya::RegionGroup>>();
412 return std::make_shared<StatisticalAnalyzer<Kakshya::RegionGroup, Kakshya::RegionGroup>>();
413 default:
414 error<std::invalid_argument>(
416 std::source_location::current(),
417 "make_default_analyzer: AnalysisType {} has no registered default analyzer",
418 static_cast<int>(type));
419 }
420}
@ ComputeMatrix
Compute operations (Yantra - algorithms, matrices, DSP)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.
@ FEATURE
Feature extraction and characterization.
@ STATISTICAL
Mean, variance, distribution analysis.

References MayaFlux::Journal::ComputeMatrix, MayaFlux::Yantra::FEATURE, MayaFlux::Yantra::STATISTICAL, and MayaFlux::Journal::Yantra.