Items with no label
3338 Diskussionen

for C# platform: How one can generate points cloud from realsense camera d435?

AItah
Einsteiger
3.405Aufrufe

We did the following:

We already connected to the camera.

We get a frameset.

Now trying to use:

pc = new PointCloud();

and

var res = pc.Process(frames);

 

However we don't get XYZ coordinate and we currently stuck.

Can you please share information how to get the pointcloud in C#?

 

Regards,

Amir

0 Kudos
9 Antworten
MartyG
Geehrter Beitragender III
2.327Aufrufe

The only C# point cloud code that I know of is extracted from the C#-based RealSense wrapper for the Unity engine.

 

https://github.com/IntelRealSense/librealsense/issues/1289#issuecomment-371067585

AItah
Einsteiger
2.327Aufrufe

thanks, however in the code it is written that Calculate is obsolete and instead to use Process however this method does not return points. at least we could not yet to extract from it the coordinates for each pixel.

BTW can we get the coordinate for each pixel in C# and RGB values for each pixel?

 

 

AItah
Einsteiger
2.327Aufrufe

thanks, however in the code it is written that Calculate is obsolete and instead to use Process however this method does not return points. at least we could not yet to extract from it the coordinates for each pixel.

BTW can we get the coordinate for each pixel in C# and RGB values for each pixel?

MartyG
Geehrter Beitragender III
2.327Aufrufe

A tutorial by a RealSense user for getting the coordinates with the 400 Series camera and C# can be found here:

 

https://pterneas.com/2018/10/10/intel-realsense-coordinate-mapping/

AItah
Einsteiger
2.327Aufrufe

Thanks, however we notice that it also requires unity.

 

Kind Regards,

Amir Itah

MartyG
Geehrter Beitragender III
2.327Aufrufe

I will refer this question up the chain to a member of Intel Support who has access to more information resources than I do. Thank you for your patience.

 

@Jesus G.​ 

 

AItah
Einsteiger
2.327Aufrufe

Thanks we really appreciate it!

Currently we are looking for a way to get XYZ coordinates and RGB data (for each pixel) without the need for another package (PCL, Unity, OpenGL, ... ).

 

10x!

Alexandra_C_Intel
Mitarbeiter
2.327Aufrufe
Hi AItah, Thank you for your interest in the Intel RealSense D435 camera. You can run this code to get the distance values: https://github.com/IntelRealSense/librealsense/tree/master/examples/C/distance Regards, Alexandra
AItah
Einsteiger
2.327Aufrufe

Thanks Alexandra!

We will try it.

 

Best regards,

Amir I.

Antworten