Anisotropic diffusion repeatedly updates a grayscale image using
differences between neighboring pixels. The amount of diffusion
changes according to those local differences.
More iterations mean the diffusion update has been applied more
times. The result also depends on the conduction function,
\(K\), \(\lambda\), and the image.
8. Line Profile
A line profile shows how grayscale intensity changes along one
selected row of an image.
Selected Image Row
selected row
Intensity Along the Row
A large change in the line profile corresponds to a strong
intensity transition along that row.
9. Range-Threshold Segmentation
A binary result can be created by selecting pixels whose
grayscale intensities fall inside a chosen range.
\[
80
\lt
I
\lt
120
\]
Select Intensities Between 80 and 120
80
120
Binary Result
Pixels inside the selected intensity range become foreground.
Pixels outside the range become background.
10. Interactive Example
The interactive visualizer below lets you change grayscale pixel
intensities, inspect one diffusion update, and then apply repeated
anisotropic diffusion to a complete grayscale image.
Select one of the five pixels
↓
Change its 8-bit grayscale intensity
↓
Choose the conduction function, \(K\), and \(\lambda\)
↓
Inspect the directional gradients, coefficients,
and weighted values
↓
Step through repeated diffusion on the whole image
↓
Compare the image, line profile, and segmentation
Summary
Concept
Meaning
Directional Gradient
Intensity difference between the center pixel and one
neighboring pixel.
Diffusion Coefficient
Weight applied to a directional gradient.
Conduction Function
Calculates a diffusion coefficient using the gradient
magnitude and \(K\).
\(K\)
Parameter used by the conduction function.
\(\lambda\)
Controls the size of the update during one iteration.
Iteration
One complete anisotropic-diffusion update.
Line Profile
Grayscale intensities along a selected image row.
Range-Threshold Segmentation
Selects pixels whose intensities fall inside a chosen
range.
Anisotropic Diffusion Visualizer
Pixel and Four Neighbors
Click a pixel to select it.
Its grayscale shade represents its
8-bit intensity.
Be First to Comment