option means

Digitize Your World Forums SDK Development option means

This topic contains 1 reply, has 2 voices, and was last updated by  Martin Ankerl 3 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #13190


    I have some issue about the option_t used in the example

    reme_options_set_real(c, o, "depth_stream.intrinsics.fx", 530);
     reme_options_set_real(c, o, "depth_stream.intrinsics.fy", 530);
     reme_options_set_real(c, o, "depth_stream.intrinsics.cx", 320);
     reme_options_set_real(c, o, "depth_stream.intrinsics.cy", 240);

    Here I got the fx fy cx cy is the camera matrix from document
    What is the camera matrix in Kinect Version2?
    In KinectV2, the lowest 3 bit in the depth image will not point to the user id.
    Microsoft used body frame…Can I just memcopy the depth stream from KinectV2 to the input of the RemeSDK?



    Martin Ankerl

    Hi Meng! Unfortunately our main developers are currently on holiday. Here is what I could find for you: As far as I can say you can just memcpy the data. At least that’s what we have done in our prototype. maybe this code piece helps:

    UINT16 *pDepthBuffer;

    IDepthFrame* pDepthFrame = NULL;
    IColorFrame* pColorFrame = NULL;

    HRESULT hr = aquireLatestFrames(&pDepthFrame, &pColorFrame);

    if (SUCCEEDED(hr)) {
    UINT nBufferSize;
    hr = pDepthFrame->AccessUnderlyingBuffer(&nBufferSize, &pDepthBuffer);

    short* dst;
    memcpy(dst, pDepthBuffer, sizeof(UINT16) * _data->mDepthWidth * _data->mDepthHeight);

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.