-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
How to use the function colorlizer in matlab or python? #2520
Comments
Would the information linked to below about colorizing in MATLAB be of any use to you, please? |
I just want to visualize depth data in matlab ,and I need the type "White to Black",not "Jet". |
You can select White To Black mode from a drop-down menu in the RealSense Viewer or set it with scripting. |
Apologies for the delay in responding, I was investigating your case further. In my own test, although the bag defaulted back to Jet when opened in the RealSense Viewer, I was able to change the bag back to White To Black by selecting this mode again in the Depth Visualization section of the Viewer's options panel. You can playback a bag in the Viewer instead of rosbag_example by going to the Add Source menu at the top of the Viewer's options panel and selecting the Load Recorded Sequence option. Or you can just drag-and-drop the bag file onto the Viewer's center panel. |
It is possible you may also be able to change the visualization mode through the SDK's MATLAB wrapper, but I do not have the scripting code for doing that. Hopefully one of the Intel team can help you with that later. https://github.com/IntelRealSense/librealsense/tree/master/wrappers/matlab |
Hi @ysh6 @MartyG-RealSense |
I saw the set_option but I don't know how to use it.... |
We also have additional notebook explaining post-processing and post-processing options, but it is missing the colorizer options |
[Realsense Customer Engineering Team Comment] |
PR #2492 Added the missing constructor argument to matlab's colorizer class, so the ability to set the color scheme should be working there too |
[Realsense Customer Engineering Team Comment] |
|
That's good news. |
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 :)
Issue Description
<Describe your issue / question / feature request / etc..>
The text was updated successfully, but these errors were encountered: