Repository navigation
test suite complement to pc and meshes + segmentation and registration - #59
Conversation
|
took the liberty to convert it to draft, when ready you can convert it again. |
|
one day my PRs will have the right tags, assignees and links from the get go, I promise |
|
Small change compared to description: the rotation test is done with the bunny as well, for convenience. |
|
Note: the segmentation test proved not to be 100% stable, but with new parameters it was tested around 10 times locally and worked every time. |
this comment unleashed in me contrasting feelings :) Where is it that you think is failing? Why it is proved not to be 100%? Ideally they should always pass and be sure, that's the goal. If you think your asserts are too tight please add thresholds (e.g. round up one decimal in floats checks). Where is in the tests that this is failing "sometimes"? |
feel free to "edit" the description directly |
Sorry the sentence was not clear, I meant that with previous parameters, the segmentation returned most of the time 2 segments (as it should) but sometimes 3 segments. Now the parameters have been adapted and have returned 2 segments every time until now. |
|
python part of issue #62 solved here |
|
@9and3 I believe this PR is ready for review. The PR description has been updated and explains the changes done. Thanks for your help in structuring my PR (even if it is still far from perfect ;) ) |
9and3
left a comment
There was a problem hiding this comment.
thanks for the PR! My feedback:
- concerning the refactoring of the
GetBB, for me was not necessarly needed sinceGetwas only kept for the getters in the class but we can leave it like this, it's a minor detail. - nice for the transform method!
This PR contains complements to the python test suite.
It covers DFPointCloud (where a few methods were not tested) and DFMesh that was left "To Do"
It also concerns tests for the segmentation and registration bindings, done with:
3 tests for the registration part :
2 tests for segmentation:
The main files changed is pybind_test_unit.py , and 3 ply files were added
additionally,