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