2012-01-18 2 views
0

이미지를 허용하는 .NET 응용 프로그램을 만들고 폴더의 모든 이미지를 스캔하여 비슷하게 보이는 .NET 응용 프로그램을 만들고 싶습니다.이미지 검색 라이브러리

어디부터 시작해야할까요? 무료/오픈 소스 라이브러리가 있습니까?

답변

0

AForge.NET을 사용할 수 있습니다. ExhaustiveTemplateMatching 메서드는 정확하게 수행합니다. 문서에 예제가 있습니다 :

// create template matching algorithm's instance 
// use zero similarity to make sure algorithm will provide anything 
ExhaustiveTemplateMatching tm = new ExhaustiveTemplateMatching(0); 
// compare two images 
TemplateMatch[] matchings = tm.ProcessImage(image1, image2); 
// check similarity level 
if (matchings[0].Similarity > 0.95f) 
{ 
    // do something with quite similar images 
} 
+0

이것은 같은 크기의 이미지에만 적용됩니다. 크기가 다른 이미지라도 효과를 낼 수있는 방법이 있다면? – Chris