Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/EmguCV/EmguContours.cs')
-rw-r--r--UVtools.Core/EmguCV/EmguContours.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/EmguCV/EmguContours.cs b/UVtools.Core/EmguCV/EmguContours.cs
index 62bfd47..50e37a4 100644
--- a/UVtools.Core/EmguCV/EmguContours.cs
+++ b/UVtools.Core/EmguCV/EmguContours.cs
@@ -241,7 +241,7 @@ namespace UVtools.Core.EmguCV
CvInvoke.BitwiseAnd(contour1Mat, contour2Mat, contour1Mat);
- return contour1Mat.FindFirstPositivePixel() != -1;
+ return !contour1Mat.IsZeroed();
}
}
}