Berkeley Image Seg OnlineImages go in, shapefiles come out. |
|
Process georeferenced satellite and aerial imagery into maps using
image segmentation. For this demo, images will be cropped to 500 x 500 pixels. Contact James with questions: support@BerkEnviro.com |
| Option 1. Wall to Wall Mini-Objects |
|---|
Usage
Object-oriented image segmentation and automation of a remote sensing image.
BERKELEYIMAGESEG inputimage threshold[s] shaperate[s] compactrate[s]
[+|-i] [+|-v] [+|-g] [+|-s] [+|-t [+|-r]]
[+|-m] [+p[:N]] [?]
[i] Thumbnail image of average color per segment.
[v] Vector shapefile of segment boundaries.
[g] Grid image of segments for import to GIS/RS.
[s] Shape and spectral statistics for each segment.
[t] Train segments: Expects '_train.shp' file with 'trainclass' field.
[r] Rank goodness of each segmentation run compared to the training shapes,
write to '_rank.csv' file. Requires training to be enabled.
[m] Take thresholds each as a Minimum Mapping Unit in georeferenced area.
[p] Parallel process jobs using system max [or N] number of processors/cores.
The output to the console will be overlapping.
[?] Display this usage message.
Use commas to indicate segmentation parameters to automate.
Use + to generate the optional product and - to force non-generation.
Products +i and +v are generated by default.
Example: BerkeleyImageSeg sample\ag-test.bmp 50 0.9 0.5
Example: BerkeleyImageSeg sample\ag-test.bmp 50 0.9 0.5 +g -i
Example: BerkeleyImageSeg sample\ag-test.bmp 30,40,50 0.1,0.5,0.9 0.5 +t +r
(Will batch run and rank 9 combinations)
Option 4. Online API
| ACTION="http://internal.berkenviro.com/bis/scripts/OnlineImageSeg.py" | ||
| METHOD="post" ENCTYPE="multipart/form-data" | ||
| TYPE="FILE" | NAME="imagefile" | upload |
| TYPE="FILE" | NAME="worldfile" | upload |
| TYPE="TEXT" | NAME="thresholds" | "20,50,100" |
| TYPE="TEXT" | NAME="shaperates" | "0.1,0.5,0.9" |
| TYPE="TEXT" | NAME="compactnessrates" | "0.1,0.5,0.9" |
| TYPE="TEXT" | NAME="options" | "+g -i" etc. |
| TYPE="FILE" | NAME="trainfile" | upload |
| TYPE="TEXT" | NAME="encoding" | "html" or "json" |
Contact James with questions: support@BerkEnviro.com, wwww.BerkEnviro.com