-
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
dynamic Colormap #3967
Comments
Hi @ColinSmith123 |
Hello @dorodnic thanks for your fast answer. unfortunately, I guess I need a little more help. here is my code, maybe you immediately see what needs to be changed. ` subject = '/A' rgb = r'/rgb' pipeline = rs.pipeline() config.enable_stream(rs.stream.depth, 848, 480, rs.format.z16, 30) profile = pipeline.start(config) depth_sensor = profile.get_device().first_depth_sensor() align_to = rs.stream.color for i in range(NrFrames):
else: ` Thanks a lot!! |
Meanwhile I found this in another issue ( How to use the function colorlizer in matlab or python? #2520 ) I tried to implement this and using the colorizer instead of cv-colormap works but I can't change the color_scheme. I get this error: File "", line 58, in TypeError: set_option(): incompatible function arguments. The following argument types are supported: Invoked with: <pyrealsense2.colorizer object at 0x0000028EE3219DF8>, 1, 2 whats the problem? sorry I know I am not a good programmer and new to this field Any help would be appreciated :) |
What version of pyrealsense2 are you using? |
@iramati thanks aaaaallooott it works! Thanks to everybody else :) |
Hello everybody I have a smal problem.
I need colored depth images that look like this :
(dynamic black and white)
the closest I can get is this:
is there a colormap preset for pyhton, that looks like the "dynamic black and white" in the Intel RS Viewer?
Thanks :)
The text was updated successfully, but these errors were encountered: