95 ip.linelen = pLeftImage->
width;
96 ip.lines = pLeftImage->
height;
99 ip.width = pLeftImage->
width;
100 ip.height = pRightImage->
height;
108 const int nPixels = pLeftImage->
width * pLeftImage->
height;
110 float *output = pDepthMap->
data;
112 for (
int i = 0; i < nPixels; i++)
113 output[i] = input[i];
int width
The width of the image in pixels.
svsStereoImage * m_pSVSStereoImage
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
unsigned char * pixels
The pointer to the the pixels.
Data structure for the representation of a matrix of values of the data type float.
svsStereoProcess * m_pSVSStereoProcess
bool Process(CByteImage *pLeftImage, CByteImage *pRightImage, CFloatMatrix *pDepthMap, int nWindowSize, int nDisparites, int nStep, int nThreshold)
int height
The height of the image in pixels.
GLenum GLenum GLenum input
ImageType type
The type of the image.