Imagetracer는 무료이며 공개 소스 (공개 도메인) 라이브러리 및 응용 프로그램으로 유용 할 수 있습니다. 면책 조항 : 나는 이것을했다.
https://github.com/jankovicsandras/imagetracerjava
당신은 경로 객체를 얻을 수는 다음과 같이 좌표 : HTTP : //
import jankovicsandras.imagetracer.ImageTracer;
...
HashMap<String,Float> options = new HashMap<String,Float>();
options.put("ltres", 2f); // Linear error treshold
options.put("qtres", 2f); // Quadratic spline error treshold
IndexedImage myimage = ImageTracer.imageToTracedata("input.jpg", options, null);
ArrayList<ArrayList<ArrayList<Double[]>>> mylayers = myimage.layers;
... process coordinates in mylayers
이
ArrayList<ArrayList<ArrayList<Double[]>>> layers
대략 ArrayList of color layers < ArrayList of paths < ArrayList of line segments < double x, y, type:straight or quadratic spline > > >
확인이 문서 의미 곳 www.cs.mtu.edu/~shene/COURSES/cs3621/N 외경/INT-APP/CURVE-APP-global.html – Danstahr