进一步清晰化
This commit is contained in:
1 parent
875f0c5be5
commit
433a06716a
1 file changed
+3
-3
@@ -16420,7 +16420,7 @@ bool MeshTexture::RasterizeVirtualFaces(
|
||||
int textureSize = ComputeOptimalTextureSizeAdaptive(virtualFaceMap, virtualFaceViews, nTextureSizeMultiple);
|
||||
if (textureSize < 1024) textureSize = 1024;
|
||||
if (textureSize > 16384) textureSize = 16384;
|
||||
textureSize = std::max(textureSize, 4096);
|
||||
textureSize = std::max(textureSize, 8192);
|
||||
|
||||
// 2. atlas + score
|
||||
outTextures.emplace_back(textureSize, textureSize);
|
||||
@@ -16664,8 +16664,8 @@ bool MeshTexture::RasterizeVirtualFaces(
|
||||
mainPatch.convertTo(mainFloat, CV_32FC3, 1.0f / 255.0f);
|
||||
|
||||
cv::Mat mainLowFreq;
|
||||
cv::GaussianBlur(mainFloat, mainLowFreq, cv::Size(31, 31), 10.0);
|
||||
cv::Mat highFreqAccum = (mainFloat - mainLowFreq) * 0.6f;
|
||||
cv::GaussianBlur(mainFloat, mainLowFreq, cv::Size(5, 5), 1.5);
|
||||
cv::Mat highFreqAccum = (mainFloat - mainLowFreq) * 0.9f;
|
||||
float highFreqTotalWeight = 0.6f;
|
||||
|
||||
if (hasLowFreqViews) {
|
||||
|
||||
Reference in new issue
Block a user