32 "S (saliency), G (gist), C (color), I (intensity), O (orientation), F (flicker), and "
33 "M (motion). Duplicate letters will be ignored.",
34 "SCIOFMG", boost::regex(
"^[SCIOFMG]+$"), ParamCateg);
76 public jevois::Parameter<surprise::updatefac, surprise::channels>
80 Surprise(std::string
const & instance);
Compute Itti & Baldi surprise over video frames.
std::shared_ptr< Saliency > itsSaliency
JEVOIS_DECLARE_PARAMETER(updatefac, float, "Surprise update factor on every video frame", 0.95F, jevois::Range< float >(0.001F, 0.999F), ParamCateg)
Parameter.
JEVOIS_DECLARE_PARAMETER(channels, std::string, "Channels to use for surprise computation: any combination of " "S (saliency), G (gist), C (color), I (intensity), O (orientation), F (flicker), and " "M (motion). Duplicate letters will be ignored.", "SCIOFMG", boost::regex("^[SCIOFMG]+$"), ParamCateg)
Parameter.
std::vector< float > itsAlpha
std::vector< float > itsBeta
double process(jevois::RawImage const &input)
Compute surprise from a YUYV video frame and return the surprise value in wows.
~Surprise()
Virtual destructor for safe inheritance.