Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the calculation process of gt.info in getGtInfoLog.m #32

Open
Gilgamesh666666 opened this issue Aug 11, 2020 · 0 comments

Comments

@Gilgamesh666666
Copy link

Gilgamesh666666 commented Aug 11, 2020

Hi, Andy Zeng:

In the calculation process of info matrix given by here, the q_star is the ground truth correspondence point in original Q, while i find that the Q is transformed Q in you code here. So, I am confused about that. I will appreciate if you can give me some hints.

relExt = inv(fragment1ExtCam2World) * fragment2ExtCam2World;
fragment2Points = fragment2PointCloud.Location';
fragment2Points = relExt(1:3,1:3) * fragment2Points + repmat(relExt(1:3,4),1,size(fragment2Points,2));
% pcwrite(pointCloud(fragment2Points','Color',repmat(uint8([255,0,0]),size(fragment2Points,2),1)),'debug1','PLYformat','binary');
% Find overlapping surfaces
voxelGridSize = 0.006;
[nnIdx,nnSqrDist] = multiQueryKNNSearchImpl(fragment1PointCloud,fragment2Points',1);
nnDist = sqrt(nnSqrDist);
% Check if overlapping surface is over 30% of first fragment
alignedRatio = sum(nnDist < voxelGridSize*5)/size(fragment1PointCloud.Location,1);
if alignedRatio < 0.3
continue;
end
% Compute 5000 ground truth correspondences q* on the overlapping regions
corresQ = fragment2Points(:,find(nnDist < voxelGridSize))';

@Gilgamesh666666 Gilgamesh666666 changed the title Problem Question about the calculation process of gt.info in getGtInfoLog.m Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant