Community
cancel
Showing results for
Did you mean:
Beginner
143 Views

RealSense F200 How to get the width and height data , help !!!

RealSense F200 How to get the width and height data , help !!!

Tags (1)
7 Replies
Beginner
143 Views

anybody can help me , thanks a lot!!!

Valued Contributor II
143 Views
Beginner
143 Views

samontab wrote:

When you receive an image, get its information:

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/d...

Thanks a lot ,  samontab !

I want to know  the width and height data of a box

first , Save the picture by RealSense F200

and then get the data with PXCMImage , correct or not?

Whether , you can give me brief sample code (C#) , thank you very much!

Valued Contributor II
143 Views

When you receive the depth data, you can ask for the corresponding set of X, Y, Z points using the QueryVertices method:

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html...

If you know which 3D points correspond to each vertex of the box, then you can calculate its width and height by simply calculating the distance between them.

I recommend you to read the user manual, and have a look at the included examples.

Beginner
143 Views

samontab wrote:

When you receive the depth data, you can ask for the corresponding set of X, Y, Z points using the QueryVertices method:

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/d...

If you know which 3D points correspond to each vertex of the box, then you can calculate its width and height by simply calculating the distance between them.

I recommend you to read the user manual, and have a look at the included examples.

hi，samontab：

About the  examples，  whicth  one ？

thanks ！

Beginner
143 Views

samontab wrote:

When you receive the depth data, you can ask for the corresponding set of X, Y, Z points using the QueryVertices method:

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/d...

If you know which 3D points correspond to each vertex of the box, then you can calculate its width and height by simply calculating the distance between them.

I recommend you to read the user manual, and have a look at the included examples.

hi，samontab：

I got the 3D points(X, Y, Z point Lists)  By  QueryVertices method

How to calculate its width and height

very thanks！

Valued Contributor II
143 Views

edison m. wrote:

Quote:

samontab wrote:

When you receive the depth data, you can ask for the corresponding set of X, Y, Z points using the QueryVertices method:

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/d...

If you know which 3D points correspond to each vertex of the box, then you can calculate its width and height by simply calculating the distance between them.

I recommend you to read the user manual, and have a look at the included examples.

hi，samontab：

I got the 3D points(X, Y, Z point Lists)  By  QueryVertices method

How to calculate its width and height

very thanks！

Come on man, It's the euclidean distance of two points in 3D.

If you have point A, and B, the distance between them is:

sqrt( sum_i( (B_i - A_i)^2 ) ), for i=1..3