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

disable histogram equalization lead depth map to void #7089

Closed
DragonDeux opened this issue Aug 11, 2020 · 11 comments
Closed

disable histogram equalization lead depth map to void #7089

DragonDeux opened this issue Aug 11, 2020 · 11 comments

Comments

@DragonDeux
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model { R200 / F200 / SR300 / ZR300 / D400 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC/Raspberry Pi/ NVIDIA Jetson / etc..
SDK Version { legacy / 2.. }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

@DragonDeux
Copy link
Author

DragonDeux commented Aug 11, 2020

Hello,

i have rencounted a strange issue with new Realsense L515 device: if "histogram_equalization_enabled is disable" then the output depth map would be just a black file while using colorizer to extract this depth map. the depth visualization min and max distance is configured correctly.

Is there anyone could help?
regards

@dorodnic
Copy link
Contributor

Hi @DragonDeux
Sounds like a bug, we will try to look into it

@DragonDeux
Copy link
Author

Hello @dorodnic,

very thanks for reponse so quickly, but i have found the reason for causing this "bug(actually it's not the bug i thought)". It's because i didn't configure the "visual preset" to fixed, so the min and max distance setting didn't make any effects. and we also should take care to configure "depth visulization" with a propre order, for me like this is working(version python):

colorMap = rs.colorizer() colorMap.set_option(rs.option.visual_preset, 1) colorMap.set_option(rs.option.histogram_equalization_enabled, 0.0) #disable histogram equalization colorMap.set_option(rs.option.color_scheme, float) colorMap.set_option(rs.option.min_distance , float) colorMap.set_option(rs.option.max_distance , float)
ps: with realsense D435 doesn't have the same "issus" because i have two of them, and i tested it.

regards

@dorodnic
Copy link
Contributor

Glad you found a solution. This seems like a bug on our side because of the different behaviour between L515 and D400.

@DragonDeux
Copy link
Author

I'm sorry, actually, the issue is awlays there. please keep this issue in mind .

@DragonDeux
Copy link
Author

hello @dorodnic
Have you resolved this issue?

@aangerma
Copy link
Contributor

Hello @DragonDeux , I tried to reproduce this issue with our rs-capture example and L515, can you send me the code that reproduce it?

@DragonDeux
Copy link
Author

Hello @aangerma, Yes sure, please download this attached python file
l515.zip

@dorodnic
Copy link
Contributor

Thanks @DragonDeux

@DragonDeux
Copy link
Author

@dorodnic
Hello Dorodnic,
Did this issue has been solved ?

regards,
Deux Xie

@ev-mp ev-mp changed the title disable histogram euqalization lead depth map to void disable histogram equalization lead depth map to void Nov 18, 2020
@RealSenseSupport
Copy link
Collaborator

Hi @DragonDeux

This issue should be fixed based on updates here in this PR: #7645

*If we don’t hear from you in 7 days, this issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants