Skip to content

Fix crash in SpinImageEstimation - #5586

Merged
mvieth merged 2 commits into
PointCloudLibrary:masterfrom
mvieth:spin_image
Jan 22, 2023
Merged

Fix crash in SpinImageEstimation#5586
mvieth merged 2 commits into
PointCloudLibrary:masterfrom
mvieth:spin_image

Conversation

@mvieth

@mvieth mvieth commented Jan 21, 2023

Copy link
Copy Markdown
Member

The image width (set by the user) must fit together with the size of the output histogram. setImageWidth now checks the given parameter and provides advice if they do not work well together.

Minor additional change: in the constructor, change the assert to an if-statement since the support_angle_cos should always be checked.

Fixes #1834
Fixes #5039 (already closed, but same issue)

The image width (set by the user) must fit together with the size of the output histogram. `setImageWidth` now checks the given parameter and provides advice if they do not work well together.

Minor additional change: in the constructor, change the assert to an if-statement since the support_angle_cos should always be checked.

Fixes PointCloudLibrary#1834
Fixes PointCloudLibrary#5039 (already closed, but same issue)
@mvieth mvieth added module: features changelog: fix Meta-information for changelog generation labels Jan 21, 2023
Comment thread features/include/pcl/features/spin_image.h Outdated
@larshg larshg added this to the pcl-1.14.0 milestone Jan 21, 2023
@larshg larshg modified the milestones: pcl-1.14.0, pcl-1.13.1 Jan 21, 2023
@mvieth
mvieth merged commit a9da50b into PointCloudLibrary:master Jan 22, 2023
@mvieth
mvieth deleted the spin_image branch January 22, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pcl::features] spin images can not change image_width, it only works well with "image_width=8" Spin Image Estimation Crash

2 participants