twain2/ImageRotation.h

21 lines
383 B
C
Raw Normal View History

#pragma once
#include "ImageApply.h"
class CImageRotation :
public CImageApply
{
public:
CImageRotation(int index_of_orentation,bool m_bBackRotate=false);
virtual ~CImageRotation();
void setRotationFlip(int flip);
int getRotetion();
// ͨ<><CDA8> CImageApply <20>̳<EFBFBD>
virtual void apply(cv::Mat & pDib,int side) override;
private:
int m_nRotation;
bool m_BackRotate;
int side;
};