|
virtual | ~SuperPixel () |
| Virtual destructor for safe inheritance.
|
|
void | process (cv::Mat const &inimg, cv::Mat &outimg) |
| Process an RGB image and get some greyscale results.
|
|
| Component (std::string const &instance) |
|
virtual | ~Component () |
|
std::shared_ptr< Comp > | addSubComponent (std::string const &instance, Args &&...args) |
|
void | removeSubComponent (std::shared_ptr< Comp > &component) |
|
void | removeSubComponent (std::string const &instance, bool warnIfNotFound=true) |
|
std::shared_ptr< Comp > | getSubComponent (std::string const &instance) const |
|
bool | isTopLevel () const |
|
bool | initialized () const |
|
std::string const & | className () const |
|
std::string const & | instanceName () const |
|
std::vector< std::string > | setParamVal (std::string const ¶mdescriptor, T const &val) |
|
void | setParamValUnique (std::string const ¶mdescriptor, T const &val) |
|
std::vector< std::pair< std::string, T > > | getParamVal (std::string const ¶mdescriptor) const |
|
T | getParamValUnique (std::string const ¶mdescriptor) const |
|
std::vector< std::string > | setParamString (std::string const ¶mdescriptor, std::string const &val) |
|
void | setParamStringUnique (std::string const ¶mdescriptor, std::string const &val) |
|
std::vector< std::pair< std::string, std::string > > | getParamString (std::string const ¶mdescriptor) const |
|
std::string | getParamStringUnique (std::string const ¶mdescriptor) const |
|
void | freezeParam (std::string const ¶mdescriptor, bool doit) |
|
void | freezeAllParams (bool doit) |
|
std::string | descriptor () const |
|
void | setParamsFromFile (std::string const &filename) |
|
std::istream & | setParamsFromStream (std::istream &is, std::string const &absfile) |
|
virtual void | paramInfo (std::shared_ptr< UserInterface > s, std::map< std::string, std::string > &categs, bool skipFrozen, std::string const &cname="", std::string const &pfx="") |
|
void | foreachParam (std::function< void(std::string const &compname, ParameterBase *p)> func, std::string const &cname="") |
|
std::shared_ptr< DynamicParameter< T > > | addDynamicParameter (std::string const &name, std::string const &description, T const &defaultValue, ParameterCategory const &category) |
|
std::shared_ptr< DynamicParameter< T > > | addDynamicParameter (std::string const &name, std::string const &description, T const &defaultValue, ValidValuesSpec< T > const &validValuesSpec, ParameterCategory const &category) |
|
void | setDynamicParameterCallback (std::string const &name, std::function< void(T const &)> cb, bool callnow=true) |
|
void | removeDynamicParameter (std::string const &name, bool throw_if_not_found=true) |
|
void | setPath (std::string const &path) |
|
std::filesystem::path | absolutePath (std::filesystem::path const &path="") |
|
std::shared_ptr< Comp > | addSubComponent (std::string const &instance, Args &&...args) |
|
void | removeSubComponent (std::shared_ptr< Comp > &component) |
|
void | removeSubComponent (std::string const &instance, bool warnIfNotFound=true) |
|
std::shared_ptr< Comp > | getSubComponent (std::string const &instance) const |
|
bool | isTopLevel () const |
|
bool | initialized () const |
|
std::string const & | className () const |
|
std::string const & | instanceName () const |
|
std::vector< std::string > | setParamVal (std::string const ¶mdescriptor, T const &val) |
|
void | setParamValUnique (std::string const ¶mdescriptor, T const &val) |
|
std::vector< std::pair< std::string, T > > | getParamVal (std::string const ¶mdescriptor) const |
|
T | getParamValUnique (std::string const ¶mdescriptor) const |
|
std::vector< std::string > | setParamString (std::string const ¶mdescriptor, std::string const &val) |
|
void | setParamStringUnique (std::string const ¶mdescriptor, std::string const &val) |
|
std::vector< std::pair< std::string, std::string > > | getParamString (std::string const ¶mdescriptor) const |
|
std::string | getParamStringUnique (std::string const ¶mdescriptor) const |
|
void | freezeParam (std::string const ¶mdescriptor, bool doit) |
|
void | freezeAllParams (bool doit) |
|
std::string | descriptor () const |
|
void | setParamsFromFile (std::string const &filename) |
|
std::istream & | setParamsFromStream (std::istream &is, std::string const &absfile) |
|
virtual void | paramInfo (std::shared_ptr< UserInterface > s, std::map< std::string, std::string > &categs, bool skipFrozen, std::string const &cname="", std::string const &pfx="") |
|
void | foreachParam (std::function< void(std::string const &compname, ParameterBase *p)> func, std::string const &cname="") |
|
std::shared_ptr< DynamicParameter< T > > | addDynamicParameter (std::string const &name, std::string const &description, T const &defaultValue, ParameterCategory const &category) |
|
std::shared_ptr< DynamicParameter< T > > | addDynamicParameter (std::string const &name, std::string const &description, T const &defaultValue, ValidValuesSpec< T > const &validValuesSpec, ParameterCategory const &category) |
|
void | setDynamicParameterCallback (std::string const &name, std::function< void(T const &)> cb, bool callnow=true) |
|
void | removeDynamicParameter (std::string const &name, bool throw_if_not_found=true) |
|
void | setPath (std::string const &path) |
|
std::filesystem::path | absolutePath (std::filesystem::path const &path="") |
|
virtual | ~ParameterRegistry () |
|
|
(Note that these are not member symbols.)
|
| JEVOIS_DEFINE_ENUM_CLASS (Algo,(SLIC)(SLICO)(SEEDS)) |
| Enum for parameter.
|
|
| JEVOIS_DECLARE_PARAMETER (algo, Algo, "Algorithm variant to use", Algo::SLICO, Algo_Values, ParamCateg) |
| Parameter.
|
|
| JEVOIS_DECLARE_PARAMETER (regionsize, int, "SLIC Region size", 30, ParamCateg) |
| Parameter.
|
|
| JEVOIS_DECLARE_PARAMETER (numpix, int, "Number of SEEDS superpixels", 200, ParamCateg) |
| Parameter.
|
|
| JEVOIS_DECLARE_PARAMETER (iterations, int, "Number of iterations", 6, jevois::Range< int >(1, 100), ParamCateg) |
| Parameter.
|
|
| JEVOIS_DEFINE_ENUM_CLASS (OutType,(Labels)(Contours)) |
| Enum for parameter.
|
|
| JEVOIS_DECLARE_PARAMETER (output, OutType, "Output labels or demo grayscale input image with superimposed contours", OutType::Contours, OutType_Values, ParamCateg) |
| Parameter.
|
|