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

remap with nan border if mat value is float or double #142

Merged
merged 1 commit into from
Jul 28, 2016

Conversation

YuOhara
Copy link
Contributor

@YuOhara YuOhara commented Jul 25, 2016

I think border value should be NaN if the elements of Image are expressed in 32FC.

without this patch, in the process of depth2pointcloud in openni2_launch(or something), the [0, 0, 0] clouds appears like this.
screenshot from 2016-07-23 18 02 02

It is because of this line.
https://github.com/ros-perception/image_pipeline/blob/indigo/depth_image_proc/include/depth_image_proc/depth_traits.h#L57
only nan values are removed.

@vrabaud
Copy link
Contributor

vrabaud commented Jul 28, 2016

makes sense, thx !

@vrabaud vrabaud merged commit f85abf7 into ros-perception:kinetic Jul 28, 2016
@k-okada
Copy link
Contributor

k-okada commented Jul 30, 2016

@YuOhara can you create PR targeting to the indigo branch as well?

@wkentaro
Copy link
Member

@YuOhara Thanks!

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.

None yet

4 participants