Removed some comments and unused headers

This commit is contained in:
Christopher Remde
2020-07-02 14:12:50 +02:00
parent 00383d8867
commit 4a7e9904d5
2 changed files with 0 additions and 4 deletions
@@ -20,7 +20,6 @@ public:
void MapColorFrameToCameraSpace(Point3f *pCameraSpacePoints); void MapColorFrameToCameraSpace(Point3f *pCameraSpacePoints);
void MapDepthFrameToColorSpace(UINT16 *pDepthInColorSpace); void MapDepthFrameToColorSpace(UINT16 *pDepthInColorSpace);
void MapColorFrameToDepthSpace(RGB *pColorInDepthSpace); void MapColorFrameToDepthSpace(RGB *pColorInDepthSpace);
k4a_image_t Downscale_image_2x2_binning(const k4a_image_t color_image);
private: private:
k4a_device_t kinectSensor = NULL; k4a_device_t kinectSensor = NULL;
@@ -37,7 +36,6 @@ private:
int color_image_downscaled_height; int color_image_downscaled_height;
k4a_transformation_t transformation = NULL; k4a_transformation_t transformation = NULL;
k4a_transformation_t transformation_color_downscaled = NULL; k4a_transformation_t transformation_color_downscaled = NULL;
k4a_image_t opencv_to_k4a_image(const cv::Mat cImg);
cv::Mat color_to_opencv(const k4a_image_t im); cv::Mat color_to_opencv(const k4a_image_t im);
void UpdateDepthPointCloud(); void UpdateDepthPointCloud();
void UpdateDepthPointCloudForColorFrame(); void UpdateDepthPointCloudForColorFrame();
-2
View File
@@ -283,9 +283,7 @@ LRESULT CALLBACK LiveScanClient::DlgProc(HWND hWnd, UINT message, WPARAM wParam,
m_pDepthRGBX = new RGB[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight]; m_pDepthRGBX = new RGB[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight];
m_pDepthInColorSpace = new UINT16[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight]; m_pDepthInColorSpace = new UINT16[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight];
//CameraSpaceCoordinate sollen so groß sein wie der Color Frame
m_pCameraSpaceCoordinates = new Point3f[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight]; m_pCameraSpaceCoordinates = new Point3f[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight];
//ColorInDepthSpace ebenso, nur es ist nicht mehr im Depth Space sonder Color Space
m_pColorInColorSpace = new RGB[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight]; m_pColorInColorSpace = new RGB[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight];
} }
else else