choughcirclesdemo.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Image/ByteImage.h>
4 #include <Image/ImageProcessor.h>
5 #include <Image/PrimitivesDrawer.h>
6 #include <Helpers/helpers.h>
7 
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <unistd.h>
11 #include <iostream>
12 
13 #include <opencv2/core/core.hpp>
14 #include <opencv2/highgui/highgui.hpp>
15 #include <opencv2/imgproc/imgproc.hpp>
16 
17 // ****************************************************************************
18 // Defines
19 // ****************************************************************************
20 
22 {
23 public:
24  CHoughCircles(int CannyLowThreshold = 50, int CannyHighThreshold = 200, int CirclesToExtract = 1, int minRadius = 20, int maxRadius = 100);
25  void HoughSaliency(CByteImage* origin, CByteImage* saliencyImage, int sampleWindowsize, int width, int height, int windowCenterX, int windowCenterY);
26  void openCVHoughSaliency(CByteImage* origin, CByteImage* saliencyImage, int sampleWindowsize, int width, int height, int windowCenterX, int windowCenterY);
27 private:
28  // private attributes
29  int m_nCannyLowThreshold, m_nCannyHighThreshold;
30  int m_nMinRadius, m_nMaxRadius;
31  int m_nCirclesToExtract;
32 };
CHoughCircles::openCVHoughSaliency
void openCVHoughSaliency(CByteImage *origin, CByteImage *saliencyImage, int sampleWindowsize, int width, int height, int windowCenterX, int windowCenterY)
Definition: choughcirclesdemo.cpp:42
CHoughCircles
Definition: choughcirclesdemo.h:21
CHoughCircles::HoughSaliency
void HoughSaliency(CByteImage *origin, CByteImage *saliencyImage, int sampleWindowsize, int width, int height, int windowCenterX, int windowCenterY)
Definition: choughcirclesdemo.cpp:13
CHoughCircles::CHoughCircles
CHoughCircles(int CannyLowThreshold=50, int CannyHighThreshold=200, int CirclesToExtract=1, int minRadius=20, int maxRadius=100)
Definition: choughcirclesdemo.cpp:3