处理染色问题

This commit is contained in:
hesuicong committed 2025-09-25 15:42:16 +08:00
1 parent 12082d9904
commit 74b5bbd255
7 files changed
+2035 -385

No files matched your search

+1 -1
View File
@@ -301,7 +301,7 @@ bool DepthEstimator::ImportIgnoreMask(const Image& image0, const Image8U::Size&
{
ASSERT(image0.IsValid() && !image0.image.empty());
const String maskFileName(image0.maskName.empty() ? Util::getFileFullName(image0.name)+".mask.png" : image0.maskName);
std::cout << "maskFileName: " << maskFileName << std::endl;
// std::cout << "maskFileName: " << maskFileName << std::endl;
Image16U mask;
if (!mask.Load(maskFileName)) {
DEBUG("warning: can not load the segmentation mask '%s'", maskFileName.c_str());