1
이 이진 이미지에서 각 줄을 추출하는 방법을 찾고 있습니다.이진 이미지에서 겹치는 개체 추출
저는 C++에서 opencv 라이브러리를 사용합니다.
방법은 내가 시도 :
Step 1: Thinning - resulted in lines with sharp curves when they shouldn't
Step 2: follow the line's path. However, some part of the sample image resulted in
thinning where it created intersections that curve to wrong direction.
Step 3: Erode - all other objects outside the objects skeleton/thinning path.
나는이 문제를 해결하기위한 확인이 더 많은 강력한 방법입니다. 나를 안내 해줘.
감사합니다.
샘플 이미지 :
답변 해 주셔서 감사합니다. 나는 전체로서 이미지 처리에있어서 새로운 것이다. LInearly 조합은 무엇을 의미합니까? – DGMJ
결과가 행렬 l1, l2, c에있는 경우, 결과는 'Mat result = (l1 + l2 + c)/3'입니다. – ypnos