CRotateImage.h 594 B

12345678910111213141516
  1. #include "CImageBasis.h"
  2. class CRotateImage: public CImageBasis
  3. {
  4. public:
  5. CImageBasis *ImageTMP;
  6. CRotateImage(std::string _image) : CImageBasis(_image) {ImageTMP = NULL;};
  7. CRotateImage(uint8_t* _rgb_image, int _channels, int _width, int _height, int _bpp) : CImageBasis(_rgb_image, _channels, _width, _height, _bpp) {ImageTMP = NULL;};
  8. CRotateImage(CImageBasis *_org, CImageBasis *_temp);
  9. void Rotate(float _angle);
  10. void Rotate(float _angle, int _centerx, int _centery);
  11. void Translate(int _dx, int _dy);
  12. void Mirror();
  13. };