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

Change resolution of R200 for color and depth image #40

Closed
CruJon opened this issue May 17, 2016 · 11 comments
Closed

Change resolution of R200 for color and depth image #40

CruJon opened this issue May 17, 2016 · 11 comments
Labels

Comments

@CruJon
Copy link

CruJon commented May 17, 2016

System Configuration

Please complete Your Configuration detail below.

Version Best Known Your Configuration
Operating System Ubuntu 14.04.4 LTS 14.04.4
Kernel 4.4.0-040400-generic 4.4.0-040400-generic
Backend video4linux video4linux
ROS indigo indigo
ROS RealSense Latest Release Latest Release
librealsense 0.9.1 0.9.1
R200 Firmware 1.0.72.06 ?.?.?.?

Hi there,

I would like to start the color and depth stream with a different resolution than default values (which are 640x480). My desired resolutions for both color and depth stream are 1920x1080.

I tried to change default values in realsense_camera_nodelet.h file but that didn't work.
As stated in the documentation, there are several static parameters for these values.

Can anyone help me out on this?

Thanks in advance

@reaganlo
Copy link

@mdhorn
Copy link

mdhorn commented May 17, 2016

Note that the depth stream is not available at 1920x1080.
I'm digging for better spec information on the R200, but see https://software.intel.com/en-us/articles/realsense-r200-camera
Available Resolutions
@60fps, depth at 320x240,, color can be 640x480
@60fps, depth at 480x360, color can be 320x240 or 640x480
@30fps, depth at 320x240,, color can be 640x480, 1280x720 or 1920x1080
@30fps, depth at 480x360, color can be 320x240, 640x480, 1280x720, or 1920x1080

@CruJon
Copy link
Author

CruJon commented May 17, 2016

Thanks for your fast replies!

When I try to increase color resolution to anything higher than 640x480, following error appears:

[FATAL] [1463514790.049318799]: Service call failed! [standalone_nodelet-2] process has died [pid 13313, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet manager __name:=standalone_nodelet __log:=/home/jon/.ros/log/fa784562-1c68-11e6-ab32-b0c090467a11/standalone_nodelet-2.log]. log file: /home/jon/.ros/log/fa784562-1c68-11e6-ab32-b0c090467a11/standalone_nodelet-2*.log [RealsenseNodelet-3] process has died [pid 13325, exit code 255, cmd /opt/ros/indigo/lib/nodelet/nodelet load realsense_camera/RealsenseNodelet standalone_nodelet __name:=RealsenseNodelet __log:=/home/jon/.ros/log/fa784562-1c68-11e6-ab32-b0c090467a11/RealsenseNodelet-3.log]. log file: /home/jon/.ros/log/fa784562-1c68-11e6-ab32-b0c090467a11/RealsenseNodelet-3*.log

I tried to change the resolution in realsense_camera_nodelet.h as well as in preset.launch (as shown in manual.launch). But neither worked out.

Of the mentioned log file in the error code above there is only one log file existing. In there it says:

�[0m[ INFO] [1463514789.021226322]: Loading nodelet /RealsenseNodelet of type realsense_camera/RealsenseNodelet to manager standalone_nodelet with the following remappings:�[0m �[0m[ INFO] [1463514789.025962007]: waitForService: Service [/standalone_nodelet/load_nodelet] has not been advertised, waiting...�[0m �[0m[ INFO] [1463514789.046851364]: waitForService: Service [/standalone_nodelet/load_nodelet] is now available.�[0m

Not sure if this is helpful though...

Do you have any idea what this error means?
Didn't find anything online...

EDIT:
perhaps my intentions what I tried to achieve weren't precisely formulated.
My goal is that similarly to the Kinect2 I try to receive an output resolution of the depth image of 1920x1080. I know that the actual depth image resolution of both the Kinect2 and the Intel Real Sense are much lower than that but for example when starting the kinect2 depth image in "HD" quality I get an output of the depth image with the resolution of 1920x1080. By simple resizing or similar actions I can't achieve this kind of resolution.
Are my desired aims possible to achieve? If yes I'd be thankful for any help.

@reaganlo
Copy link

reaganlo commented Jul 6, 2016

@CruJon The depth stream is not available at 1920x1080. But you should be able to get the color stream at that resolution. Are you still getting any errors for the color stream at HD resolution?

mdhorn added a commit to mdhorn/realsense that referenced this issue Jul 13, 2016
…t_cloud

Updated RGBD Launch File for Manual Mode
@leslysandra
Copy link

hey everyone!
into the same topic, do you think it is possible to adjust/improve the quality of RGB/Depth with the values of COLOR_AUTO_EXPOSURE, HUE & SHARPNESS , etc ?
thanks!!!

@reaganlo
Copy link

reaganlo commented Aug 9, 2016

@l3s777 Once you launch the camera, you can adjust the dynamic parameters by running the command $ rosrun rqt_reconfigure rqt_reconfigure
Refer to Dynamic Parameters supported for different types of RealSense cameras.

@leslysandra
Copy link

@reaganlo thanks for the reply... but I am not using ros, only librealsense and r200.
is there any other way ?

Thanks

@reaganlo
Copy link

reaganlo commented Aug 9, 2016

If you install and build librealsense from source, you can run the cpp-configure-ui sample program in the <librealsense root folder>/bin
For more details, I would suggest that you post the question in the librealsense repo

@reaganlo reaganlo closed this as completed Aug 9, 2016
@leslysandra
Copy link

hi @reaganlo I have already checked the cpp-configure-ui example, and tried to check how to fix the quality in depth but it seems to not help at all and I didn't find more info about this at the repo of librealsense.

thanks for ur help!

@mindThomas
Copy link

Why is it that both color and depth stream can not be 640x480 at the same time?
Why is the depth stream limited to 480x360?

icarpis added a commit to icarpis/realsense that referenced this issue Sep 17, 2017
Added InfraRed Left & Right Topics
@ilhamovitch
Copy link

Hello everyone I have a small question about the different resolution of color and depth images :
I want to use the depth image to segment the color image using the information from the nearest object and the fact that the 2 images have different resolutions I had a problem in segmentation I will be grateful if you have an idea or solution for this problem. All information will be useful and thank you in advance

doronhi pushed a commit that referenced this issue Feb 18, 2021
Remove unnecessary hardware reset in destructor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants