diff options
Diffstat (limited to 'UVtools.Core/EmguCV/EmguContours.cs')
-rw-r--r-- | UVtools.Core/EmguCV/EmguContours.cs | 2 |
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(); } } } |