Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@whuaegeanse
Copy link
Contributor

@whuaegeanse whuaegeanse commented Aug 1, 2023

Add a new costfunction-ReprojErrorConstantPoint3DCostFunction to speed up the RefineAbsolutePose function.

@ahojnnes
Copy link
Contributor

ahojnnes commented Aug 1, 2023

Thanks. How much faster is this in practice for the two proposed changes?

@ahojnnes ahojnnes self-requested a review August 1, 2023 14:48
@whuaegeanse
Copy link
Contributor Author

whuaegeanse commented Aug 1, 2023

Thanks. How much faster is this in practice for the two proposed changes?

The average speed up is about 12%.

The time taken by both methods is output in SpeedUpLog.txt in the following format.
num points:780, old:7204.000000, new: 7084.000000
SpeedUpLog.txt

CSV format:
SpeedUp.csv

@ahojnnes
Copy link
Contributor

ahojnnes commented Aug 2, 2023

Could you please add a unit test for this new cost function in the cost_function_test.cc file? Thanks.

@whuaegeanse
Copy link
Contributor Author

whuaegeanse commented Aug 2, 2023

Could you please add a unit test for this new cost function in the cost_function_test.cc file? Thanks.

My pleasure.

@ahojnnes ahojnnes merged commit 1dc8e37 into colmap:dev Aug 3, 2023
@whuaegeanse whuaegeanse deleted the const_point branch August 5, 2023 17:22
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

Successfully merging this pull request may close these issues.

2 participants