OBIA Classification

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 + Parameters

1. What This Feature Does

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.

Cloud workflow: choose data → configure the scientific method → run → review the resulting layer/report. No programming is required.

2. Recommended Workflow

Select spectral bands. ↓ Segment the image using scale and spectral/shape weights. ↓ Calculate spectral, shape, texture, and context attributes. ↓ Choose Supervised or Unsupervised classification. ↓ Classify objects and review object boundaries/classes.

3. Theory, Methods & Equations

Image Segmentation

Creates spatially connected objects by balancing spectral heterogeneity and shape constraints.

Cost ≈ wspectral·ΔSpectral + wshape·ΔShape
Compactness = 4πA/P²
Best used when: meaningful objects are larger than individual pixels.

Random Forest (Supervised)

Classifies object feature vectors with an ensemble of decision trees.

ĉ=mode{ft(x)}
Best used when: object attributes form nonlinear class boundaries.

SVM (Supervised)

Finds a maximum-margin boundary between object classes, optionally through a nonlinear kernel.

min ½||w||² + CΣξi
Best used when: labelled objects are limited but feature separation is strong.

XGBoost / LightGBM (Supervised)

Sequentially adds decision trees that correct residual classification errors using gradient boosting.

Fm(x)=Fm−1(x)+η fm(x)
Best used when: tabular object features and nonlinear interactions dominate.

MLP Neural Network (Supervised)

Learns nonlinear mappings from object features to class probabilities.

h=φ(Wx+b)
Best used when: enough labelled objects exist for a neural classifier.

K-Means / GMM / BIRCH (Unsupervised)

Groups object-level feature vectors without class labels using centroid, probabilistic, or hierarchical clustering.

K-Means: J=Σ||x−μ||²
GMM: p(x)=Σπk𝒩(x|μkk)
Best used when: exploring object groups before semantic labelling.

4. Input Data

InputTypeRequirementDescription
Input RasterrasterRequiredSingle multiband raster used for both object segmentation and object-feature extraction.
Training Area (ROI)vectorRequired for selected methodPolygon ROI layer used only in Supervised mode. Disabled in Unsupervised mode. Each ROI must contain the selected Class Field.

5. Parameters Available in the Application

ParameterDefaultChoices / RangeHow to Use It
Input BandsBands used for segmentation and object features. Leave empty to use All bands.
Scale Parameter50.02.0 to 1000.0Controls approximate object size. Higher values create larger image objects; lower values create finer segmentation.
Spectral Weight0.80.0 to 1.0Relative importance of multiband spectral similarity during segmentation. Spectral and Shape weights are normalized internally.
Shape Weight0.20.0 to 1.0Relative importance of spatial/shape regularity during segmentation.
Compactness0.50.0 to 1.0Favours compact image objects. Compactness and Smoothness are normalized internally.
Smoothness0.50.0 to 1.0Favours smoother object boundaries and applies mild pre-segmentation smoothing.
Minimum Object Size (pixels)162 to 100000Minimum expected object size used by connectivity cleanup.
Maximum Objects2500010 to 250000Safety limit for the number of output OBIA objects.
Spectral AttributesOnMean, standard deviation, minimum and maximum for every selected band.
Shape AttributesOnArea, perimeter, compactness, elongation, solidity, extent and eccentricity.
Texture AttributesOnObject-level local variance and edge/gradient statistics from the first selected raster band.
Context AttributesOnNeighbour count and mean spectral distance to adjacent objects.
Classification ModeunsupervisedSupervised, Unsupervised
Supervised AlgorithmRandom Forest, Support Vector Machine (SVM), XGBoost, LightGBM, MLP Neural Network
Shown for: supervised
Class FieldROI attribute containing the target class name/code.
Shown for: supervised
Minimum ROI Overlap0.10.0 to 1.0Minimum 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 Trees30010 to 5000
Shown for: random_forest
SVM C10.00.0001 to —
Shown for: svm
SVM GammascaleScale, Auto
Shown for: svm
MLP Hidden Layers[64, 32]
Shown for: mlp
MLP Maximum Iterations30010 to 5000
Shown for: mlp
Unsupervised AlgorithmkmeansK-Means, Gaussian Mixture Model (GMM), BIRCH
Shown for: unsupervised
Number of Classes52 to 100
Shown for: unsupervised
Standardize Object FeaturesOn
Random State42

6. Output & Interpretation

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.

Scientific interpretation: an algorithm can produce a numerically valid result even when the input data are unsuitable. Always check masks, units, sensor characteristics, spatial resolution and reference data.

7. Best Practices

  • Use analysis-ready inputs and remove invalid/cloud/noise artifacts that are not part of the target phenomenon.
  • Choose parameters from the physical scale of the data, not only from visual appearance.
  • Keep categorical and continuous rasters conceptually separate when selecting interpolation/resampling methods.
  • Compare the result with the source image and independent reference information.
  • Document the settings used when results will be compared across dates, sensors or study areas.