38 #pragma warning(push, 0)    // no warnings from includes    43 #pragma warning (disable: 4251) // inlined Qt functions in dll interface    46 #ifdef DLL_CORE_EXPORT    47 #define DllCoreExport Q_DECL_EXPORT    49 #define DllCoreExport Q_DECL_IMPORT    64         void setSigma(
double s);
    66         bool normGrad() 
const;
    67         void setNormGrad(
bool n);
    69         bool perpendAngle() 
const;
    70         void setPerpendAngle(
bool p);
    72         QString toString() 
const override;
    75         void load(
const QSettings& settings) 
override;
    76         void save(QSettings& settings) 
const override;
    79         bool mNormGrad = 
true;
    80         bool mPerpendAngle = 
false; 
    87     GradientVector(
const cv::Mat& img, 
const cv::Mat& mask = cv::Mat());
    89     cv::Mat debugGaussImg();
    94     void setAnchor(cv::Point a);
    95     cv::Point anchor() 
const;
    97     void setDxKernel(
const cv::Mat& m);
    98     void setDyKernel(
const cv::Mat& m);
   100     double minVal() 
const;
   101     double maxVal() 
const;
   104     bool isEmpty() 
const override;
   105     virtual bool compute() 
override;
   107     QSharedPointer<GradientVectorConfig> 
config() 
const;
   109     virtual QString toString() 
const override;
   112     bool checkInput() 
const override;
   113     void computeGradients();
   114     void computeGradMag(
bool norm);
   115     void computeGradAngle();
   131     cv::Point mAnchor = cv::Point(-1, -1);
 Definition: BaseModule.h:63
 
Definition: GradientVector.h:83
 
#define DllCoreExport
Definition: BaseImageElement.h:43
 
config
Definition: DependencyCollector.py:271
 
DllCoreExport bool save(const QImage &img, const QString &savePath, int compression=-1)
Saves the specified QImage img. 
Definition: Image.cpp:180
 
Definition: GradientVector.h:58
 
DllCoreExport QImage load(const QString &path, bool *ok=0)
Definition: Image.cpp:152
 
This is the base class for all modules. It provides all functions which are implemented by the module...
Definition: BaseModule.h:126
 
Definition: Algorithms.cpp:45