CFindTemplate.h 730 B

12345678910111213141516
  1. #include "CImageBasis.h"
  2. class CFindTemplate : public CImageBasis
  3. {
  4. public:
  5. int tpl_width, tpl_height, tpl_bpp;
  6. // CFindTemplate(std::string _image);
  7. CFindTemplate(uint8_t* _rgb_image, int _channels, int _width, int _height, int _bpp) : CImageBasis(_rgb_image, _channels, _width, _height, _bpp) {};
  8. void FindTemplate(std::string _template, int* found_x, int* found_y, std::string _imageout);
  9. void FindTemplate(std::string _template, int* found_x, int* found_y, int _dx, int _dy, std::string _imageout);
  10. void FindTemplate(std::string _template, int* found_x, int* found_y);
  11. void FindTemplate(std::string _template, int* found_x, int* found_y, int _dx, int _dy);
  12. };