Skip to content

Conversation

@starga2er777
Copy link

Point cloud compression for 3d module
Additional color information is required for testing color attribute I/O in the methods mention in this PR. So I added color information to the testdata/pointcloudio/orig.obj and testdata/pointcloudio/orig.ply based on random generation.

@asmorkalov asmorkalov merged commit 2976f0e into opencv:5.x Jul 25, 2023
asmorkalov pushed a commit to opencv/opencv that referenced this pull request Jul 25, 2023
GSoC: Modified PLY reader to support color attribute read/write #23805

* Modified PLY reader to support color attribute read/write
* Fix bugs & Modified OBJ reader for color IO
* Replace with correct test file
* Fix I/O of property [w] in OBJ files

### Pull Request Readiness Checklist

**Merged with opencv/opencv_extra#1075

[Issue for GSoC 2023](#23624)
The ply loader in 3D module doesn't support color attribute reading. I modified that to support color attribute reading & writing for the color attribute compression as described in proposal.

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
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