修正颜色问题
This commit is contained in:
1 parent
eb27da0c17
commit
497f7b619b
1 file changed
+2
-1
@@ -1939,7 +1939,8 @@ bool MeshTexture::ListCameraFaces(FaceDataViewArr& facesDatas, float fOutlierThr
|
||||
for (int x = 0; x < width; x++) {
|
||||
uchar maskVal = regionMask.at<uchar>(y, x);
|
||||
if (maskVal > 0) {
|
||||
cv::Vec3b pixel = imageRegionRGB.at<cv::Vec3b>(y, x);
|
||||
cv::Vec3b pixelTemp = imageRegionRGB.at<cv::Vec3b>(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++) {
|
||||
|
||||
Reference in new issue
Block a user