This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Depth Data (distance in mm) from OPT8241 CDK



HI

I want to know how to get the depth data or the measured distance from camera to object.

I have tried f.write((char *)d->depth.data(), sizeof(float)*d->size.width*d->size.height); 
But the feed back data includes positive and negative, which is not the distance data.

So would any one please help to provide a solution?

In detail please.

Thanks