code style
This commit is contained in:
parent
23e28e20a6
commit
94fd56a65d
|
@ -65,8 +65,7 @@ bool PointsProcessor::OnProcess(
|
|||
float *sptr = disparity.ptr<float>(y);
|
||||
cv::Vec3f *dptr = _3dImage.ptr<cv::Vec3f>(y);
|
||||
|
||||
for( x = 0; x < cols; x++)
|
||||
{
|
||||
for (x = 0; x < cols; x++) {
|
||||
double d = sptr[x];
|
||||
cv::Vec4d homg_pt = Q * cv::Vec4d(x, y, d, 1.0);
|
||||
dptr[x] = cv::Vec3d(homg_pt.val);
|
||||
|
|
Loading…
Reference in New Issue
Block a user