-
Notifications
You must be signed in to change notification settings - Fork 29
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
problem in SDRSAC.m, when run the demo, "Error using + Matrix dimensions must agree." #5
Comments
sorry,Is there something wrong with the outcome of your solution?The image that comes out has changed. |
Not clearly understand your means, is the result of matching changed or the original point cloud shape |
the original point cloud shape chagnged,I have showed the image of result. |
|
I check the SDRSAC.m file, and fond that maybe some problems when execute the plotPointClouds.m function. In your program, " plotPointClouds(B, bestRM + bestT, 'b.','r.')" , the dimensions of "bestRM" is (3,4500), while "bestT" is (3,1). And can't sum directly, I changed this part as follows:
[row, col] = size(M);
bestTrl = repmat(bestT, 1, col);
plotPointClouds(B, bestR*M + bestTrl, 'b.','r.')
and works well!
The text was updated successfully, but these errors were encountered: