opencv 4.10

This commit is contained in:
EugeneTes
2026-03-24 11:57:27 +01:00
parent 34b74ecdcd
commit a1838cafeb
26 changed files with 231 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ public class SkeletonOperation:BaseOperation
if(!CheckGrayscale(context)) return;
var skeleton = new Mat(context.ActiveImage.ImageData.Size(), MatType.CV_8UC1, 0);
var skeleton = new Mat(context.ActiveImage.ImageData.Size(), MatType.CV_8UC1, Scalar.All(0));
var temp = context.ActiveImage.ImageData.Clone();
var element = Cv2.GetStructuringElement(MorphShapes.Cross, new OpenCvSharp.Size(3, 3));
var image = context.ActiveImage.ImageData.Clone();