diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationThreshold.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationThreshold.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/Operations/OperationThreshold.cs b/UVtools.Core/Operations/OperationThreshold.cs index d516b8e..4754f00 100644 --- a/UVtools.Core/Operations/OperationThreshold.cs +++ b/UVtools.Core/Operations/OperationThreshold.cs @@ -101,7 +101,7 @@ namespace UVtools.Core.Operations using var original = mat.Clone(); var target = GetRoiOrDefault(mat); CvInvoke.Threshold(target, target, Threshold, Maximum, Type); - ApplyMask(original, mat); + ApplyMask(original, target); return true; } |