1 2 Previous Next 18 Replies Latest reply on May 4, 2017 3:41 PM by Intel Corporation

    how can i change sr300 hw setting  room hand face body

    Johance

      I convert the color coordinates to 3D coordinates, but most of them are empty. In addition to 500mm, I'd like to take a further distance. But don't know how to set.

      See Camera Explorer inside HWSetting Room mode is far away. But don't know how to set.

       

      sts = m_pProjection->QueryInvUVMap(sample->depth, &m_uvmap[0]);
      sts = m_pProjection->QueryVertices(sample->depth, &m_vertices[0]);

       

       

      void RealSenseDevice::GetCameraPos(Point2i screenPoint, Point3f &cameraPoint)

      {

        if(screenPoint.x >= m_nColorSize.width || screenPoint.y >= m_nColorSize.height || screenPoint.y < 0 || screenPoint.x < 0)

        {

        cameraPoint.x = -1;

        cameraPoint.y = -1;

        cameraPoint.z = -1;

        return ;

        }

       

        int nIndex = screenPoint.x + screenPoint.y*m_nColorSize.width;

        RealSense::PointF32 pos = m_uvmap[nIndex];

        if(pos.x != -1 && pos.y != -1)

        {

        nIndex = m_uvmap[nIndex].x*m_nDepthSize.width + m_uvmap[nIndex].y*m_nDepthSize.height * m_nDepthSize.width;

       

       

        cameraPoint.x =  m_vertices[nIndex].x;

        cameraPoint.y =  m_vertices[nIndex].y;

        cameraPoint.z =  m_vertices[nIndex].z;

        }

      }

        1 2 Previous Next