From 4a7e9904d5dcc0eeb75042fc5573b09a84e70e06 Mon Sep 17 00:00:00 2001 From: Christopher Remde Date: Thu, 2 Jul 2020 14:12:50 +0200 Subject: [PATCH] Removed some comments and unused headers --- include/LiveScanClient/azureKinectCapture.h | 2 -- src/LiveScanClient/liveScanClient.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/LiveScanClient/azureKinectCapture.h b/include/LiveScanClient/azureKinectCapture.h index f29b57b..62f0099 100644 --- a/include/LiveScanClient/azureKinectCapture.h +++ b/include/LiveScanClient/azureKinectCapture.h @@ -20,7 +20,6 @@ public: void MapColorFrameToCameraSpace(Point3f *pCameraSpacePoints); void MapDepthFrameToColorSpace(UINT16 *pDepthInColorSpace); void MapColorFrameToDepthSpace(RGB *pColorInDepthSpace); - k4a_image_t Downscale_image_2x2_binning(const k4a_image_t color_image); private: k4a_device_t kinectSensor = NULL; @@ -37,7 +36,6 @@ private: int color_image_downscaled_height; k4a_transformation_t transformation = 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); void UpdateDepthPointCloud(); void UpdateDepthPointCloudForColorFrame(); diff --git a/src/LiveScanClient/liveScanClient.cpp b/src/LiveScanClient/liveScanClient.cpp index 73307c9..a5d56be 100644 --- a/src/LiveScanClient/liveScanClient.cpp +++ b/src/LiveScanClient/liveScanClient.cpp @@ -283,9 +283,7 @@ LRESULT CALLBACK LiveScanClient::DlgProc(HWND hWnd, UINT message, WPARAM wParam, m_pDepthRGBX = new RGB[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]; - //ColorInDepthSpace ebenso, nur es ist nicht mehr im Depth Space sonder Color Space m_pColorInColorSpace = new RGB[pCapture->nColorFrameWidth * pCapture->nColorFrameHeight]; } else