Semantic Segmentation
Semantic Segmentation is a computer vision technique that assigns a class label to every pixel in an image, enabling detailed land cover mapping, urban analysis, and environmental monitoring from remote sensing imagery.
Semantic Segmentation is an advanced computer visionComputer VisionComputer Vision is a field of artificial intelligence that enables machines to interpret and understand visual inform... technique that classifies every pixel in an image into predefined categories, producing a dense, pixel-level map of the scene. Unlike object detectionObject DetectionObject Detection is a computer vision technique that identifies and localizes specific objects within images or video..., which identifies discrete objects with bounding boxes, semantic segmentation provides a complete understanding of the spatial layout by labeling every part of the image. This makes it invaluable for geospatial applications where continuous surface coverage analysis is required, such as land cover classificationLand Cover ClassificationLand cover classification is the process of categorizing Earth's surface into distinct classes such as forest, cropla... and urban mapping. How Semantic Segmentation WorksSemantic segmentation models use encoder-decoder neural networkNeural NetworkA Neural Network is a computing system inspired by the structure of biological neural networks in the brain. It forms... architectures to process images. The encoder extracts hierarchical features from the input image, compressing spatial information while capturing semantic meaning. The decoder then upsamples these features back to the original image resolution, producing a per-pixel classification map. Prominent architectures include U-NetU-NetU-Net is an encoder-decoder neural network architecture with skip connections designed for precise image segmentation..., which uses skip connections to preserve spatial detail, and DeepLab, which employs atrous convolutions to capture multi-scale context. Fully Convolutional Networks (FCNs) replaced fully connected layers with convolutional ones, enabling end-to-end pixel-wise prediction. Loss functions like cross-entropy and dice loss are optimized during training to improve segmentation accuracy. Applications in Geospatial AnalysisSemantic segmentation is one of the most widely used techniques in remote sensingRemote SensingRemote sensing is the science of collecting data about Earth's surface without direct physical contact, primarily usi... and geospatial analysisGeospatial AnalysisGeospatial analysis applies statistical methods and specialized software to interpret spatial data, uncovering patter.... Land use and land cover mapping relies on semantic segmentation to classify every pixel of satellite imagerySatellite ImagerySatellite imagery consists of photographs and data captured by Earth observation satellites orbiting the planet. Thes... into categories like forest, water, urban, agricultural, and barren land. Urban planners use it to delineate building footprints, road surfaces, green spaces, and water bodies for comprehensive city mapping. In agriculture, semantic segmentation maps crop types, identifies weed-infested areas, and monitors soil conditions. Environmental scientists apply it to track deforestation boundaries, map wetland extents, and monitor coastal erosion. Flood mapping uses semantic segmentation to delineate inundated areas from satellite imagery for disaster response. Advantages Over Other ApproachesSemantic segmentation provides the most detailed spatial analysis possible from imagery, as every pixel receives a classification. This completeness enables precise area calculations, boundary delineation, and change detectionChange DetectionChange detection uses geospatial data and imagery to track and analyze alterations in landscapes, infrastructure, or .... The continuous nature of segmentation maps aligns naturally with geographic data formats like rasters and vector boundaries. When combined with time-series imagery, semantic segmentation enables detailed monitoring of how landscapes change over months and years. Challenges in Semantic SegmentationProducing accurate semantic segmentation requires large volumes of pixel-level annotated training data, which is expensive and time-consuming to create. Class boundaries in natural environments are often gradual rather than sharp, making precise labeling subjective. Mixed pixels at the edges of features, particularly in lower-resolution satellite imagery, introduce classification ambiguity. Computational requirements scale with image resolution, making processing of very high-resolution imagery resource-intensive. Emerging Trends in Semantic SegmentationVision transformers and attention mechanisms are improving segmentation accuracy by capturing global context across entire images. Panoptic segmentation combines semantic and instance segmentation to distinguish individual objects within the same class. Self-supervised pretraining on unlabeled satellite imagery is reducing the annotation burden. Real-time semantic segmentation on edge devices is enabling autonomous navigation and drone-based environmental monitoringEnvironmental MonitoringEnvironmental Monitoring is the systematic collection and analysis of data about environmental conditions, including ... applications.
Code-Beispiele
import torch
from torchvision.models.segmentation import (
deeplabv3_resnet50
)
# Load pre-trained model
model = deeplabv3_resnet50(pretrained=True)
model.eval()
# Segment an aerial image
input_tensor = preprocess(aerial_image)
with torch.no_grad():
output = model(input_tensor.unsqueeze(0))
# Extract class predictions
pred = output["out"].argmax(1).squeeze()
# Classes: road, building, vegetation, water...Bereit?
Sehen Sie Mapular
in Aktion.
Buchen Sie eine kostenlose 30-minütige Demo. Wir zeigen Ihnen genau, wie die Plattform für Ihren Anwendungsfall funktioniert — kein generisches Foliendeck, keine Verpflichtung.