-
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
Option to disable resampling/super resolution in Realsense Viewer #10320
Comments
Hi @wl2776 The new ** RealSense D405** close-range camera model released last week is best suited to very close range observation. https://store.intelrealsense.com/buy-intel-realsense-depth-camera-d405.html If you need to use the D435 model though then I would recommend moving the camera further away from the barcode and then maximizing the Viewer's RGB option Sharpness to '100' to enhance the quality of the RGB image. In #7187 (comment) I tested RGB 'Sharpness' increasing with a D415 camera on the barcode of a drinks multipack. |
|
It is possible to capture raw RGB RAW16 frames from the camera hardware using OpenCV color conversion, as demonstrated with Python scripting at #7275 The RAW16 RGB format cannot be directly streamed in the RealSense Viewer though. The Viewer will also apply the default values of a particular camera model's RGB settings to the image. You could try disabling the RGB Decimation Filter in the Post-Processing sub-section of the RGB options to see whether that improves your results if it is not already disabled (indicated by a red colored icon beside it). Once you position a D435 closer than 0.1 m / 10 cm to an object then below about 7 cm blurring will set into the image, as described by a RealSense team member at #7631 (comment) |
The RealSense Viewer tool is not designed for the depth-of-field analysis purpose that you have in mind. It provides easy access to the camera's capabilities through a graphical interface without having to create program scripting. Because the optics of RealSense camera sensors are fixed, once the camera is below a certain distance from the observed surface then the image will start to blur. So you will likely not be able to achieve your goal with the Viewer tool. |
I see. But this could be a good feature that is rather easy to implement. |
The RealSense Viewer is an open-source tool and so RealSense users are welcome to create their own custom versions of the tool that add features for their particular use. https://github.com/IntelRealSense/librealsense/tree/master/tools/realsense-viewer |
Hi @wl2776 Do you require further assistance with this case, please? Thanks! |
Thanks very much @wl2776 for the update! |
Issue Description
I am trying to estimate camera depth of field.
To do this, I am targeting the camera at a bar code and analyze how it shows the lines.
This is the screenshot of the Realsense Viewer window. I've used mouse wheel to zoom.
![image](https://user-images.githubusercontent.com/4774284/158795925-b6a01348-f1ec-4851-8cea-70c2db7c8599.png)
And this is the screenshot of the IrfanView window, showing color frame, captured with the Realsense Viewer.
I've zoomed into approximately the same region as in the Realsense Viewer.
IrfanView allows to turn off all resampling, and I can clearly see borders of pixels.
I cannot see pixel borders in the window of the Realsense viewer. This suggests that it applies some resampling/super-resolution algorithms.
I was unable to find any option to turn them off.
The text was updated successfully, but these errors were encountered: