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

problem in SDRSAC.m, when run the demo, "Error using + Matrix dimensions must agree." #5

Open
wangdada123 opened this issue Nov 3, 2019 · 5 comments

Comments

@wangdada123
Copy link

wangdada123 commented Nov 3, 2019

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!

@sunhaibo1
Copy link

sorry,Is there something wrong with the outcome of your solution?The image that comes out has changed.

@sunhaibo1
Copy link

image

@wangdada123
Copy link
Author

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
changed?

@sunhaibo1
Copy link

the original point cloud shape chagnged,I have showed the image of result.

@sunhaibo1
Copy link

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 s

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.

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

2 participants