Image Segmentation
Creates spatially connected objects by balancing spectral heterogeneity and shape constraints.
Object-Based Image Analysis (OBIA) first segments neighboring pixels into image objects, calculates object attributes, then classifies those objects. This reduces the purely pixel-by-pixel view and can use shape, texture, and context.
Remote Sensing CoreEnd-User DocumentationTheory + Formula + ParametersObject-Based Image Analysis (OBIA) first segments neighboring pixels into image objects, calculates object attributes, then classifies those objects. This reduces the purely pixel-by-pixel view and can use shape, texture, and context.
Creates spatially connected objects by balancing spectral heterogeneity and shape constraints.
Classifies object feature vectors with an ensemble of decision trees.
Finds a maximum-margin boundary between object classes, optionally through a nonlinear kernel.
Sequentially adds decision trees that correct residual classification errors using gradient boosting.
Learns nonlinear mappings from object features to class probabilities.
Groups object-level feature vectors without class labels using centroid, probabilistic, or hierarchical clustering.
| Input | Type | Requirement | Description |
|---|---|---|---|
| Input Raster | raster | Required | Single multiband raster used for both object segmentation and object-feature extraction. |
| Training Area (ROI) | vector | Required for selected method | Polygon ROI layer used only in Supervised mode. Disabled in Unsupervised mode. Each ROI must contain the selected Class Field. |
| Parameter | Default | Choices / Range | How to Use It |
|---|---|---|---|
| Input Bands | — | — | Bands used for segmentation and object features. Leave empty to use All bands. |
| Scale Parameter | 50.0 | 2.0 to 1000.0 | Controls approximate object size. Higher values create larger image objects; lower values create finer segmentation. |
| Spectral Weight | 0.8 | 0.0 to 1.0 | Relative importance of multiband spectral similarity during segmentation. Spectral and Shape weights are normalized internally. |
| Shape Weight | 0.2 | 0.0 to 1.0 | Relative importance of spatial/shape regularity during segmentation. |
| Compactness | 0.5 | 0.0 to 1.0 | Favours compact image objects. Compactness and Smoothness are normalized internally. |
| Smoothness | 0.5 | 0.0 to 1.0 | Favours smoother object boundaries and applies mild pre-segmentation smoothing. |
| Minimum Object Size (pixels) | 16 | 2 to 100000 | Minimum expected object size used by connectivity cleanup. |
| Maximum Objects | 25000 | 10 to 250000 | Safety limit for the number of output OBIA objects. |
| Spectral Attributes | On | — | Mean, standard deviation, minimum and maximum for every selected band. |
| Shape Attributes | On | — | Area, perimeter, compactness, elongation, solidity, extent and eccentricity. |
| Texture Attributes | On | — | Object-level local variance and edge/gradient statistics from the first selected raster band. |
| Context Attributes | On | — | Neighbour count and mean spectral distance to adjacent objects. |
| Classification Mode | unsupervised | Supervised, Unsupervised | |
| Supervised Algorithm | — | Random Forest, Support Vector Machine (SVM), XGBoost, LightGBM, MLP Neural Network | Shown for: supervised |
| Class Field | — | — | ROI attribute containing the target class name/code. Shown for: supervised |
| Minimum ROI Overlap | 0.1 | 0.0 to 1.0 | Minimum fraction of an image object covered by one ROI class before that object is accepted as a supervised training object. Shown for: supervised |
| Random Forest Trees | 300 | 10 to 5000 | Shown for: random_forest |
| SVM C | 10.0 | 0.0001 to — | Shown for: svm |
| SVM Gamma | scale | Scale, Auto | Shown for: svm |
| MLP Hidden Layers | [64, 32] | — | Shown for: mlp |
| MLP Maximum Iterations | 300 | 10 to 5000 | Shown for: mlp |
| Unsupervised Algorithm | kmeans | K-Means, Gaussian Mixture Model (GMM), BIRCH | Shown for: unsupervised |
| Number of Classes | 5 | 2 to 100 | Shown for: unsupervised |
| Standardize Object Features | On | — | |
| Random State | 42 | — |
The result should be interpreted according to the selected method and the physical meaning of the input data. Preserve source units, coordinate reference information, NoData meaning, acquisition date, and preprocessing level when comparing results.