The document explains image segmentation in ERDAS Imagine, detailing the methods for partitioning raster images based on pixel values and locations. It covers parameters like edge detection, segmentation settings, and the use of spectral, texture, size, and shape weights in FLS segmentation. Additionally, it provides examples and exercises illustrating the segmentation process and its outcomes.
2
Image Segmentation
▪ Segmentationis a way of
partitioning raster images
into segments based on
pixel values and locations.
Pixels that are spatially
connected and have similar
values are grouped in a
single segment.
Source: Clarklabs.org
4
Image Segmentation inERDAS
▪ Image Segmentation performs
edge detection on the raster image
first. Then it performs
segmentations on that raster image
using edges found in the edge
detection phase as boundaries of
segments. The result is a thematic
image in which pixel values
represent class IDs of contiguous
raster objects.
http://www.acgeospatial.co.uk/
5.
5
Image Segmentation
• Use:Specifies how pixels
values are used in performing
segmentation.
• Intensity: Averages of all
band values are used in
performing segmentation.
•
All Layers: All results are
intersected to generate final
results; when this option is
selected, the Euclidean
Distance option becomes
available.
7
Image Segmentation
Edge Detection
▪Pre Smoothing: Specify the
number of times the image is
smoothed before edge detection is
done. If the image is noisy, then
applying pre smoothing to the
image reduces the impact of the
noisy pixels on the edge detection
• Threshold: Consider each pixel,
and if the difference between this
pixel’s value and one of its
neighboring pixels is bigger than the
threshold, that pixel is considered as
a candidate for edge pixel. The
appropriate threshold value is
dependent on the value differences
of neighboring pixels along the
edges. The default is 18.
• Minimal Length Specifies the
minimum acceptable length of the
edge. Any edge lengths less than
this number are dropped. Minimal
length is measured in pixels. The
default is 3.
9
Segment Geometry
Settings
• MinimumSize. If this box is
checked, the number field next
to it is enabled. The minimum
size constraint is enforced using
the number specified in that
field.
• Compute Settings. Click this
button to change the default
values for Minimum Value
Difference and Threshold.
10.
10
Segmentation
Parameters
• Minimal ValueDifference
Enter the minimum value
difference between neighboring
segments. The default is 15.
• Variance Factor: by specifying
a larger variance factor, you can
reduce the number of segments
on non-homogeneous regions.
• Find Narrow Strips If this
checkbox is checked, strips of
one or two pixels wide are
extracted as separate
segments. Otherwise, narrow
strips are extracted only if their
width is larger than three pixels.
20
FLS Image Segmentation
▪Zonal Input Image: a binary raster
that contains zones
▪ Pixel Segment Ratio: Specify
average number of pixels that each
output segment will contain.
▪ Relative Weights: The parameters
in the Relative Weights group
control the merge cost function.
21.
21
FLS Image Segmentation
RelativeWeights:
Spectral: Specify how much weight to give the
spectral component of the segments. This is
measured as the mean of the DN values of the pixels
in the segments.
▪ Enter a high value to generate segments that
are more spectrally homogeneous.
▪ Enter a low value to generate segments that
are less spectrally homogeneous
22.
22
FLS Image Segmentation
RelativeWeights:
Texture - Specify how much weight to give the
texture component of the segments. This is
measured as the standard deviation of the DN
values of the pixels in the segments.
▪ Enter a high value to generate segments that
are more texturally homogeneous.
▪ Enter a low value to generate segments that
are less texturally homogeneous.
23.
23
FLS Image Segmentation
RelativeWeights:
Size - Specify how much weight to give the size
component of the segments. This is measured as the
number of pixels in the segment.
▪ Enter a high value to generate segments that
are more homogeneous in size.
▪ Enter a low value to generate segments that
are less homogeneous in size.
24.
24
FLS Image Segmentation
RelativeWeights:
Shape - Specify how much weight to give the shape
component of the segments. This is a proprietary
measurement of the boundary complexity of the
segment.
▪ Enter a high value to generate segments that
are more homogeneous in shape (compactness
and smoothness).
▪ Enter a low value to generate segments that
are less homogeneous in shape (compactness
and smoothness).
25.
25
FLS Image Segmentation
SizeLimits - Size Limits may be specified to
constrain the size of the segments. These
parameters are expressed in terms of pixel count.
▪ Minimum - Specify the minimum size of the
segments in pixels.
▪ Maximum - Specify the maximum size of the
segments in pixels.
26.
26
Image Segmentation Toolsin ERDAS: a
comparison
Image Segmentation
▪ An edge detection and region
growing algorithm
▪ Considers only spectral content of
the segments for merging decisions
▪ No direct control over
pixel:segment ratio
FLS Image Segmentation
▪ Considers spectral content as well
as the segment's texture, size, and
shape for merging decisions
▪ Direct control over the
pixel:segment ratio
▪ Both minimum and maximum
segment size constraints