开发者

Vivid Solutions JTS

开发者 https://www.devze.com 2023-03-14 11:21 出处:网络
In a question I asked about ways to gather pixel data from an image, I was recommended the Java Topology Suite.

In a question I asked about ways to gather pixel data from an image, I was recommended the Java Topology Suite.

Bearing in mind that I am a first year CS student, I was wondering if anybody who has used this could, dumb down, or simplify what it is that it actually does for me.

Thank you开发者_Go百科, I would not have asked, but the documentation is really confusing.


Supposing that we are talking about this library:

http://www.vividsolutions.com/jts/JTSHome.htm

it serves the purpose of manipulating geometric shapes in Java.

Examples: determine if two shapes intersect, compute the union of several shapes, perform operations like buffering, simplification and so on. This library is mostly used in Geographical Information Systems where information about, say a county, is recorded in a shape like a Polygon. By using this library one could infer whether and how much of a county falls into a special area (this special area needs also be a Shape) by performing an intersection.

Since you are talking about pixels I would say that this library is not of much use to you. Raster data (that is images like pictures or satellite imagery) cannot be processed by JTS and require special raster processing software. Depending on the kind of processing you need to apply to your images I might be able to suggest a software, but you need to clarify.

0

精彩评论

暂无评论...
验证码 换一张
取 消