Ejemplo n.º 1
0
 /// <summary>
 /// 에지 찾기 위한 도구 클래스를 생성합니다.
 /// </summary>
 /// <param name="rect">ROI 영역.</param>
 /// <param name="contrastThreshold">대비 임계값.</param>
 /// <param name="halfPixelCount">절반 픽셀 수치.</param>
 /// <param name="edgeDirection">에지 방향.</param>
 public EdgeDetctor(CvsRectangleAffine rect, uint contrastThreshold, uint halfPixelCount, EDirection edgeDirection)
 {
     m_Rect   = rect;
     m_Detect = new CvsEdgeDetect {
         EdgeDirection = edgeDirection, HalfPixelCount = halfPixelCount, ContrastThreshold = contrastThreshold
     };
 }
Ejemplo n.º 2
0
 public CvsCropImageSetting()
 {
     m_Region = new CvsRectangleAffine();
 }
Ejemplo n.º 3
0
 public MainWindow()
 {
     Region = new CvsRectangleAffine();
     InitializeComponent();
     DataContext = this;
 }