-
Notifications
You must be signed in to change notification settings - Fork 24
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
updated lidar_hd_pre_transform function #118
base: main
Are you sure you want to change the base?
Conversation
…oint clouds that have custom sets of features
Hi @liubigli-tcp |
Hi @liubigli-tcp,
More information on that in the documentation: https://ignf.github.io/myria3d/tutorials/prepare_dataset.html However, creating a generic pre_transform could be possible (but without adding new arguments to the method that would be used as a points_pre_transform. |
Hi @leavauchier, Thank you so much for your response! I really appreciate it. I’m currently working with point clouds that differ slightly from the LidarHD French lidar program, and I was wondering if there’s a way to adapt the code for other types of point clouds without having to write a new pre-transform function each time—just by adjusting the config files. This way, I would only need a simple system to manage my set of config files. From what you’ve explained, it seems my approach might diverge too much from the way you originally designed the framework. For example, I would still need to add a custom function for each new type of point cloud. If I also need to maintain the code for implementing my custom pre-transform functions, do you think it would make more sense for me to fork your repository and make these changes in my own version? |
Hi @liubigli-tcp, Maybe there can be a middle ground to find by creating an additional pre-transform which is more flexible in addition to the existing one.It will require a way to have something generic using the config but without adding new arguments to the method that would be used as a points_pre_transform in order not to interfere with the existing pre-transforms. In this case, if it does not affect the existing workflow, we would be glad to add it to our codebase. Otherwise, I think it would be easier to keep your own for such developments, or in the case you want to add many specific use cases. |
Hi @leavauchier, Thank you for your kind reply! Regarding the "middle ground" you mentioned, what do you think about renaming my pre transform function to something like This solution is fully backward-compatible with the current implementation and does not require any changes for existing users of the library. At the same time, it provides flexibility for anyone working with other types of point clouds, as they can adapt the configuration file to suit their custom needs. Please let me know if this solution aligns better with your requirements. I’d be more than happy to make the necessary changes to integrate this function into your framework! :) |
Hello!
Thank you very much for publishing this framework! It is really amazing!
I have created this pull request to allow any user to work with point clouds that have custom sets of features.
With this commit, the user specifies the list of point cloud features in its dataset_description yaml file.
Let assume that the point clouds in your dataset don't have any color information, the user can simply pass an empty
list in the color_keys and updates the number of input features (d_in) and that's all.
Please let me know if this could be of any interest to you :)