175 printf(
"error: images are not compatible in CBitmapCapture::CaptureImage\n");
187 printf(
"error: images are not compatible in CBitmapCapture::CaptureImage\n");
bool CaptureImage(CByteImage **ppImages)
CByteImage * m_pRightImage
CByteImage * m_pLeftImageRGB24Split
int width
The width of the image in pixels.
CBitmapCapture(const char *pFilePath, const char *pSecondFilePath=NULL)
bool LoadFromFile(const char *pFileName)
Loads an image from a file.
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
bool ConvertImage(const CByteImage *pInputImage, CByteImage *pOutputImage, bool bFast=false, const MyRegion *pROI=0)
Converts a grayscale CByteImage to an RGB CByteImage image and vice versa.
std::string m_sSecondFilePath
bool CopyImage(const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion *pROI=0, bool bUseSameSize=false)
Copies one CByteImage to another.
int height
The height of the image in pixels.
ImageType
Enum specifying the supported image types.
ImageType type
The type of the image.
CByteImage::ImageType GetType()
CByteImage * m_pRightImageRGB24Split
CByteImage * m_pLeftImage