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

Definition of Block Size and Grid Size during data preparation of Semantic3D #227

Open
aldinorizaldy opened this issue May 11, 2020 · 4 comments
Assignees

Comments

@aldinorizaldy
Copy link

Does anyone can explain the definition of block size and grid size in prepare_semantic3d_data.py line 24-25

    parser.add_argument('--block_size', '-b', help='Block size', type=float, default=5.0)
    parser.add_argument('--grid_size', '-g', help='Grid size', type=float, default=0.1)

What is the effect when we use bigger or smaller size to the accuracy?
I'd really appreciate any help. Thank you.

@sldeitz
Copy link

sldeitz commented Jan 4, 2021

@burui11087 I am also interested in this question. I am training with sparse LiDAR point cloud data and am curious about the impact of "block_size" and "max_point_num" in the H5 files. What are the impacts of tuning the parameters of the H5 file?

@aldinorizaldy
Copy link
Author

Well, I guess in the case of airborne lidar you need to have a large block size. Otherwise misclassification (building roof labeled as ground) will occur on large building as you can see in my result. I changed the block size into 10 meter, and those errors are 10x10 meter. In that case I would change the block size into something larger.
image

Max_point_number is, I guess, the sample size in the H5 file. Point cloud is irregular data, in contrast to image, and we need a fix sample size to be trained in the network.

@sldeitz
Copy link

sldeitz commented Jan 7, 2021

@aldinorizaldy thank you! I am testing the classification of curb ramps which have a smaller area. Would it make sense to reduce my block size down to 5 meters?

@aldinorizaldy
Copy link
Author

Yes, it does make sense. Actually, the default block size in semantic3d code is 5 m. I think you may start with semantic3d code but use your own data, as semantic3d is outdoor lidar scene.

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

3 participants