source: flair-src/trunk/lib/FlairVisionFilter/src/Sobel.h

Last change on this file was 338, checked in by Sanahuja Guillaume, 2 years ago

remove opencv dep

File size: 1.6 KB
RevLine 
[122]1/*!
2 * \file Sobel.h
3 * \brief Sobel algorithm
4 * \author Gildas Bayard, Copyright Heudiasyc UMR UTC/CNRS 7253
5 * \date 2015/10/07
6 * \version 4.0
7 */
8
9
10#ifndef SOBEL_H
11#define SOBEL_H
12
13#include <IODevice.h>
14
[338]15
[122]16namespace flair {
17    namespace core {
[338]18        class Image;
[122]19    }
20    namespace gui {
21        class LayoutPosition;
22    }
23}
24
[338]25 class Sobel_impl;
26
[122]27namespace flair { namespace filter {
28    /*! \class Sobel
29    *
30    * \brief Sobel algorithm
31    *
32    * Sobel is done using the DSP of the DM3730.
33    */
34    class Sobel : public core::IODevice {
35        public:
36            /*!
37            * \brief Constructor
38            *
39            * Construct an OpticalFlow filter at given position. \n
40            * After calling this function, position will be deleted as it is no longer usefull. \n
41            *
42            * \param parent parent
43            * \param position position
44            * \param name name
45            */
46            Sobel(const core::IODevice* parent,const gui::LayoutPosition* position,std::string name);
47
48            /*!
49            * \brief Destructor
50            *
51            */
52            ~Sobel();
53
54            /*!
55            * \brief Output image
56            *
57            * Output matrix is of the same size as the input image. \n
58            *
59            * \return the output image
60            */
[338]61            core::Image* Output(void);
[122]62
63            core::DataType const &GetOutputDataType() const;
64
65        private:
66            void UpdateFrom(const core::io_data *data);
[338]67            Sobel_impl *pimpl_;
[122]68    };
69} // end namespace filter
70} // end namespace flair
71#endif // SOBEL_H
Note: See TracBrowser for help on using the repository browser.