/// <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); }
/// <summary> /// 선을 찾기 위한 설정 값 클래스를 생성합니다. /// </summary> public CvsLineSetting() { LinePose = new CvsPose(); m_LineDetect = new CvsLineDetect(); m_EdgeSetting = new CvsEdgeSetting(); }