MayaFlux
0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
validate_parameters()
template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = std::vector<std::vector<double>>>
void
MayaFlux::Yantra::FeatureExtractor
< InputType, OutputType >::validate_parameters
(
)
const
inline
private
Validate extraction parameters.
Definition at line
366
of file
FeatureExtractor.hpp
.
367
{
368
if
(
m_window_size
== 0) {
369
throw
std::invalid_argument(
"Window size must be greater than 0"
);
370
}
371
if
(
m_hop_size
== 0) {
372
throw
std::invalid_argument(
"Hop size must be greater than 0"
);
373
}
374
if
(
m_hop_size
>
m_window_size
) {
375
throw
std::invalid_argument(
"Hop size should not exceed window size for optimal coverage"
);
376
}
377
}
MayaFlux::Yantra::FeatureExtractor::m_hop_size
uint32_t m_hop_size
Definition
FeatureExtractor.hpp:360
MayaFlux::Yantra::FeatureExtractor::m_window_size
uint32_t m_window_size
Definition
FeatureExtractor.hpp:359
MayaFlux
Yantra
FeatureExtractor
Generated by
1.9.8