Home
last modified time | relevance | path

Searched refs:imgW (Results 1 – 1 of 1) sorted by relevance

/external/opencv/cvaux/src/
Dcvdpstereo.cpp94 int imgW = size.width; in icvFindStereoCorrespondenceByBirchfieldDP() local
107 uchar* dsi = (uchar*)cvAlloc(sizeof(uchar)*imgW*dispH); in icvFindStereoCorrespondenceByBirchfieldDP()
108 uchar* edges = (uchar*)cvAlloc(sizeof(uchar)*imgW*imgH); in icvFindStereoCorrespondenceByBirchfieldDP()
109 _CvDPCell* cells = (_CvDPCell*)cvAlloc(sizeof(_CvDPCell)*imgW*MAX(dispH,(imgH+1)/2)); in icvFindStereoCorrespondenceByBirchfieldDP()
110 _CvRightImData* rData = (_CvRightImData*)cvAlloc(sizeof(_CvRightImData)*imgW); in icvFindStereoCorrespondenceByBirchfieldDP()
120 for( j = 1; j < imgW; j++ ) in icvFindStereoCorrespondenceByBirchfieldDP()
134 dsi += imgW; in icvFindStereoCorrespondenceByBirchfieldDP()
136 for( j = i - 1; j < imgW - 1; j++ ) in icvFindStereoCorrespondenceByBirchfieldDP()
153 dsi -= (maxDisparity+1)*imgW; in icvFindStereoCorrespondenceByBirchfieldDP()
158 edges[y*imgW] = edges[y*imgW+1] = edges[y*imgW+2] = 2; in icvFindStereoCorrespondenceByBirchfieldDP()
[all …]