소스 검색

fix 0008598: 【颈动脉AI】颈动脉斑块圈位置不准确

Jeremy 2 년 전
부모
커밋
b79dc9769d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Carotid/Utilities/DetectPlaque/CarotidPlaqueAutoDetection.cs

+ 1 - 1
Carotid/Utilities/DetectPlaque/CarotidPlaqueAutoDetection.cs

@@ -67,7 +67,7 @@ namespace WingAIDiagnosisService.Carotid.Utilities.DetectPlaque
             var top = maxPlaque.ImageRect.Top;
             for (var i = 0; i < plaqueContours.Length; ++i)
             {
-                realPlaqueContours[i] = new Point(plaqueContours[i].X + left, plaqueContours[i].Y + top);
+                realPlaqueContours[i] = new Point(plaqueContours[i].X, plaqueContours[i].Y);
             }
             imageBgr.Draw(realPlaqueContours, new Bgr(0, 0, 255), 2);