-
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
Coordinate system #11493
Comments
Hi @IndiGleb It sounds as though exporting the data to a .csv file may fit your needs. A .csv file is a textual file of all the coordinates that can be imported into a database or spreadsheet. A csv could be exported directly with a program script, or you could record a bag file of the camera streams and then convert the bag to csv format with the RealSense SDK's rs-convert tool. This subject is discussed at #11090 |
What is this method ? I search him in SDK, but i can't find that |
You could generate a pointcloud with pc.calculate and then extract and print the XYZ values of each coordinate with the instruction points.get_vertices. #4612 (comment) has a Python example of points.get_vertices whilst #5728 is a C++ example. |
I can measured coordinate without pointcloud ? |
Obtaining the 3D world-space coordinate of a single specific pixel coordinate on an image without using a pointcloud or alignment can be done with the instruction rs2_project_color_pixel_to_depth_pixel and information about this instruction is at #5603 (comment) |
where can I find this method ? |
Are you using Python or C++ please? |
С++. I want to know where the measured coordinate from pointcloud and rs2_project_color_pixel_to_depth_pixel |
A C++ example of using rs2_project_color_pixel_to_depth_pixel is at #6239 (comment) For the pointcloud, using points.get_vertices like in #5728 to obtain the coordinates will likely be the best method to use. |
In which cpp source file can i find what is contained in these methods ? |
I'm trying to figure out exactly how the coordinates are calculated |
These two sections of the SDK's source code may be especially relevant: rs.cpp Lines 3762 to 3769 in 3371f4d
unit-tests-live.cpp librealsense/unit-tests/unit-tests-live.cpp Lines 5220 to 5233 in 1b9a40d
|
Post-processing work when camera enable on ethernet ? |
My understanding from a RealSense team member's advice at #6376 is that if a network camera running on the rs-server ethernet networking system has a serial number defined in a script then it should behave in that script like a normal non-networked camera. I cannot recall a previous case of post-processing being applied to a network camera though. The rs-server ethernet system is being removed in the next RealSense SDK version however, so it would not be a suitable networking solution to choose if you plan to update the SDK in future. The EtherSense Python-based ethernet system should continue to work. https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/ethernet_client_server |
how i can disable post-processing in code ? |
You do not need to disable post-processing filters in code when creating your own program as they are not active by default and have to be deliberately programmed into a script. They are only enabled by default in the RealSense Viewer tool. |
How i can check this ? |
You do not need to check if the filters are disabled if you have not programmed them into your script as the filters will not be applied. This is because the program does not know how to use filters unless you tell it how to by adding post-processing filter code. |
how will ethersense differ from rs-server ? |
They share the general principle of being able to send data from a camera attached to a computer (the remote server) to another computer with a display and no camera attached (the host) but otherwise they are completely different in how they work. |
How the image will be sent over the network? |
BGR will remain jpeg ? |
Or maybe H264? |
Where can I read more about EtherSense ? |
I mean how the image will compress both RGB and depth ? |
It is sent by the TCP protocol in EtherSense, whilst rs-server uses the RTSP protocol. There are not further information resources about EtherSense, unfortunately. The paper linked to earlier is the best guide available. https://dev.intelrealsense.com/docs/depth-camera-over-ethernet-whitepaper It appears from the section of the paper linked to below that the streams are uncompressed, but advice is offered on different ways to reduce bandwidth. https://dev.intelrealsense.com/docs/depth-camera-over-ethernet-whitepaper#network-bandwidth |
Hi @IndiGleb Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
<Describe your issue / question / feature request / etc..>
How i can get coordinate from camera (D455) ? Maybe there is a function that defines this ? As a result, I want to get a matrix containing coordinates in each pixel
The text was updated successfully, but these errors were encountered: