Exemple #1
0
        /// <summary>
        /// 선을 찾는 도구 클래스를 생성합니다.
        /// </summary>
        public CvsLineDetectTool()
        {
            m_Collection = new CvsEdgeSettingCollection();
            m_Setting    = new CvsLineSetting
            {
                ConsensusThreshold = 6,
                OriginX            = 20,
                OriginY            = 20,
                SegmentLength      = 100,
                CaliperCount       = 3,
                ProjectionLength   = 30,
                SearchLength       = 100,
                ContrastThreshold  = 5,
                HalfPixelCount     = 2
            };

            m_LineDetect = m_Setting.GetToolParams();
            m_Collection.SetWholeEdgeSetting(m_Setting.GetCaliperSettings());
            m_Collection.SetParentPose(m_Setting.LinePose);
        }
Exemple #2
0
 /// <summary>
 /// 두 직선의 교점을 찾기 위한 설정 값 클래스를 생성합니다.
 /// </summary>
 public CvsCornerSetting()
 {
     m_Detect     = new CvsCornerDetect();
     LineASetting = new CvsLineSetting();
     LineBSetting = new CvsLineSetting();
 }