#include <jevois/Core/Module.H>
#include <jevois/Image/RawImageOps.H>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
Go to the source code of this file.
|
| JEVOIS_DECLARE_PARAMETER (thresh1, double, "First threshold for hysteresis", 50.0, ParamCateg) |
|
| JEVOIS_DECLARE_PARAMETER (thresh2, double, "Second threshold for hysteresis", 150.0, ParamCateg) |
|
| JEVOIS_DECLARE_PARAMETER (aperture, int, "Aperture size for the Sobel operator", 3, jevois::Range< int >(3, 53), ParamCateg) |
|
| JEVOIS_DECLARE_PARAMETER_WITH_CALLBACK (l2grad, bool, "Use more accurate L2 gradient norm if true, L1 if false", false, ParamCateg) |
|
| JEVOIS_REGISTER_MODULE (TutorialEdgeDetection) |
|
◆ JEVOIS_DECLARE_PARAMETER() [1/3]
JEVOIS_DECLARE_PARAMETER |
( |
aperture |
, |
|
|
int |
, |
|
|
"Aperture size for the Sobel operator" |
, |
|
|
3 |
, |
|
|
jevois::Range< int > |
3, 53, |
|
|
ParamCateg |
|
|
) |
| |
◆ JEVOIS_DECLARE_PARAMETER() [2/3]
JEVOIS_DECLARE_PARAMETER |
( |
thresh1 |
, |
|
|
double |
, |
|
|
"First threshold for hysteresis" |
, |
|
|
50. |
0, |
|
|
ParamCateg |
|
|
) |
| |
◆ JEVOIS_DECLARE_PARAMETER() [3/3]
JEVOIS_DECLARE_PARAMETER |
( |
thresh2 |
, |
|
|
double |
, |
|
|
"Second threshold for hysteresis" |
, |
|
|
150. |
0, |
|
|
ParamCateg |
|
|
) |
| |
◆ JEVOIS_DECLARE_PARAMETER_WITH_CALLBACK()
JEVOIS_DECLARE_PARAMETER_WITH_CALLBACK |
( |
l2grad |
, |
|
|
bool |
, |
|
|
"Use more accurate L2 gradient norm if |
true, |
|
|
L1 if false" |
, |
|
|
false |
, |
|
|
ParamCateg |
|
|
) |
| |
◆ JEVOIS_REGISTER_MODULE()