最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

geospatial - Vector polygons from aerial orthophotography - Stack Overflow

programmeradmin1浏览0评论

I frequently create ortho mosaics from drone photos, then manually have to trace them to create vector habitat polygons.

Is there any software that can do this (preferably command line)? I do not necessarily need an algorithm which specifically identifies habits from the rasters, just delineating boundaries and edges would save alot of time.

Thank you

I frequently create ortho mosaics from drone photos, then manually have to trace them to create vector habitat polygons.

Is there any software that can do this (preferably command line)? I do not necessarily need an algorithm which specifically identifies habits from the rasters, just delineating boundaries and edges would save alot of time.

Thank you

Share Improve this question asked Feb 5 at 16:47 symeboysymeboy 295 bronze badges 3
  • Not sure what you mean by habitat polygons, but image segmentation to vectors via command line is possible with orthoseg. (Disclaimer: I'm the developer). – Pieter Commented Feb 5 at 17:59
  • Thanks! Looks interesting. I see that it is a deep learning algorithm, presumably I would have to provide lots of data in terms of training datasets? I'm not sure how else I can phrase it, "habitat" and "polygons" are fairly unequivical terms. – symeboy Commented Feb 5 at 18:40
  • Lots of training data is relative. It depends on the difficulty of what you are detecting, but on average I use/need a few 100's of examples of e.g. 512x512 pixels. As you already digitized some mosaics in the past you probably can use those digitizations for the training data. – Pieter Commented Feb 5 at 19:32
Add a comment  | 

1 Answer 1

Reset to default 1

In R:

library(terra)
r <- rast(system.file("ex/elev.tif", package="terra"))
# manually creating a boundary, but many other approaches are possible
rc <- r > 400
p <- as.polygons(rc)
plot(rc)
lines(p, col="red", lwd=2)
发布评论

评论列表(0)

  1. 暂无评论