25 #ifndef INCLUDED_ParseBlobParams_h_GUID_D159000A_2DAE_4C96_3DB1_C22A119C7513 26 #define INCLUDED_ParseBlobParams_h_GUID_D159000A_2DAE_4C96_3DB1_C22A119C7513 33 #include <json/value.h> 40 inline void parseBlobParams(Json::Value
const &blob, BlobParams &p) {
42 "absoluteMinThreshold");
44 "minDistBetweenBlobs");
47 "filterByCircularity");
56 inline void parseEdgeHoleExtractorParams(Json::Value
const &config,
59 "preEdgeDetectionBlurSize");
64 "erosionKernelValue");
66 "postEdgeDetectionBlur");
68 "postEdgeDetectionBlurSize");
70 "postEdgeDetectionBlurThreshold");
75 #endif // INCLUDED_ParseBlobParams_h_GUID_D159000A_2DAE_4C96_3DB1_C22A119C7513 The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
void getOptionalParameter(T &dest, Json::Value const &obj, const char *key)
Gets an optional parameter from a JSON object: if it's not present, the existing value is left there...
Definition: GetOptionalParameter.h:60