Skip to content

Commit f8c4aaa

Browse files
committed
fixed LargeKinFu compilation
1 parent 5a9d7fb commit f8c4aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/rgbd/src/large_kinfu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ bool LargeKinfuImpl<MatType>::updateT(const MatType& _depth)
369369
}
370370

371371
//3. Raycast
372-
currTrackingSubmap->raycast(currTrackingSubmap->cameraPose, params.frameSize);
372+
currTrackingSubmap->raycast(currTrackingSubmap->cameraPose, params.frameSize, params.intr);
373373

374374
CV_LOG_INFO(NULL, "Submap: " << currTrackingId << " Total allocated blocks: " << currTrackingSubmap->getTotalAllocatedBlocks());
375375
CV_LOG_INFO(NULL, "Submap: " << currTrackingId << " Visible blocks: " << currTrackingSubmap->getVisibleBlocks(frameCounter));
@@ -421,7 +421,7 @@ void LargeKinfuImpl<MatType>::render(OutputArray image, const Matx44f& _cameraPo
421421
Affine3f cameraPose(_cameraPose);
422422
auto currSubmap = submapMgr->getCurrentSubmap();
423423
MatType points, normals;
424-
currSubmap->raycast(cameraPose, params.frameSize, points, normals);
424+
currSubmap->raycast(cameraPose, params.frameSize, params.intr, points, normals);
425425
detail::renderPointsNormals(points, normals, image, params.lightPose);
426426
}
427427

0 commit comments

Comments
 (0)