Evil-DICOM icon indicating copy to clipboard operation
Evil-DICOM copied to clipboard

MaskImageFast Error

Open soopamanluva opened this issue 3 years ago • 0 comments

Hello. there is an error I can't overcome for quite some time now. ERROR OpenCvSharp.OpenCVException: 'scn == m.cols || scn + 1 == m.cols' ERROR when i try to calculate DVH

in SliceContourMeta MaskImageFast method using (var pointMat = new Mat(new[] { ContourPoints.Count }, points.ToArray())) { var inerse = txMatrix.Inv(); var txPointMat = pointMat.Transform(txMatrix.Inv()); <------ error happens here txPointMat.GetArray(out allPoints); } Thanks in advance for help. Best regards

soopamanluva avatar Dec 28 '20 23:12 soopamanluva