From 497f7b619be14b768ec6808b6515e7dbe442982b Mon Sep 17 00:00:00 2001 From: hesuicong Date: Mon, 2 Mar 2026 09:12:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=A2=9C=E8=89=B2=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/MVS/SceneTexture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/MVS/SceneTexture.cpp b/libs/MVS/SceneTexture.cpp index 7b93b1e..10e12a3 100644 --- a/libs/MVS/SceneTexture.cpp +++ b/libs/MVS/SceneTexture.cpp @@ -1939,7 +1939,8 @@ bool MeshTexture::ListCameraFaces(FaceDataViewArr& facesDatas, float fOutlierThr for (int x = 0; x < width; x++) { uchar maskVal = regionMask.at(y, x); if (maskVal > 0) { - cv::Vec3b pixel = imageRegionRGB.at(y, x); + cv::Vec3b pixelTemp = imageRegionRGB.at(y, x); + cv::Vec3b pixel(pixelTemp[2], pixelTemp[1], pixelTemp[0]); for (int sy = 0; sy < scaleFactor; sy++) { for (int sx = 0; sx < scaleFactor; sx++) {