Professional Documents
Culture Documents
معالجة الصورة -1
معالجة الصورة -1
معالجة الصورة -1
2
There are two category of signal processing:
Analog Signal Processing
The term is used to describe a waveform that is continuous in
time and can take a continuous range of amplitude values. It will be
more correct to say continuous signal processing.
Digital Signal Processing (DSP)
A digital signal, which is discrete-time-signal, is not represented
by a continuous waveform and the discrete-time signal quantities.
The amplitude that we know one amplitude value of signal at discrete
instants in time.
Sampling and reconstruction
Sampling represents the image by measurements at regularly spaced
sample intervals.
Sampling interval
• distance between sample points or pixels
Sampling Theory
A signal can be reconstructed from its samples if the signal contains no
frequencies above ½ the sampling frequency.The minimum sampling
rate for a band limited signal is called the Nyquist rate
3
Spectral Analysis
Any (spatial, time) domain signal (function) can be written as a sum
of periodic functions (Fourier)
Fourier Transform
• A transform takes one function (or signal) and turns it into another
function (or signal)
– An important image processing tool which is used to
decompose an image into its sine and cosine components.
– Output of the transform represents the image in the Fourier
or frequency domain.
– In the Fourier domain image, each point represents a
particular frequency contained in the spatial domain image.
4
– Applications: image analysis, image filtering, image
reconstruction and image compression
Continuous Fourier Transform:
Where,
……,N-1
Why is FT Useful?
• Easier to remove undesirable frequencies.
• Faster perform certain operations in the frequency domain than in
the spatial domain.
5
Image compression
Pattern recognition
Ghost cancellation
Noise reduction
Deblurring
Object tracking
Image fusion
What are analog images?
A natural image is a continuous, 2-dimensional distribution of brightness
(or some other physical effect).
f(x,y): A two-dimensional function, where x and y are spatial
coordinates, and the amplitude of f at any pair of coordinates (x,y) is
called the intensity or gray level of the image at that point.
• The original image is a multidimensional physical parameter
(colour intensity, electromagnetic radiation)
6
Spatial resolution
Width pixels/width cm and height pixels/ height cm
Intensity resolution
Intensity bits/intensity range (per channel)
Number of channels
RGB is 3 channels, grayscale is one channel
The number of pixels in the image is called the resolution of the image.
7
• Or the original image has to be filtered at a frequency below the
half of the sampling frequency
8
• Noise
Image restoration suppresses image degradation using knowledge
about its nature.
The objective of image restoration is to reconstruct the original image
from its degraded version.
We can restore the image if we know the Fourier transform of the
degradation function.
Image Segmentation
Segmentation is the process of partitioning a digital image into
multiple segments (sets of pixels, also known as super pixels) that
strongly correlate with the objects in an image. The goal of
segmentation is to simplify and/or change the representation of an
image into something that is more meaningful and easier to analyze.
Some of the practical applications of image segmentation are:
o Locate tumors and other pathologies
o Measure tissue volumes
o Study of anatomical structure
Accurate and reliable subcortical segmentation is a requirement for
volumetric and morphometric studies of neuro-degenerative diseases.
Edge detection
An edge is a set of connected pixels that lie on the boundary between
two regions. Region boundaries and edges are closely related, since
9
there is often a sharp adjustment in intensity at the region boundaries.
Edge detection techniques have therefore been used as the base of
another segmentation technique.
Filters
• Filters are signal conditioners
• Filter functions by accepting an input signal, blocking prespecified
frequency components and passing the original signal minus those
components to the output.
Filter Types
• Lowpass- Allows only low frequency signals to its outputs.
• Highpass-Allows only high frequency signals to its outputs.
• Bandpass-Allows only output signals within its narrow,
government-authorized range of frequency spectrum.
• Bandstop-Allows both low and high frequencies, but blocks a
predefined range of frequencies.
10
Digital scan converter (DSC)
Digital scan converter is the most important part of the medical
equipment
Digital Scan Converter = image memory storage area # of pixels in
matrix=better spatial resolution, 8 bit=1 byte=256 shades of gray,
color needs 24 bis/pixel, 3 byte
The heart of the image storage component is the digital scan
converter.
A scan converter is used to convert the demodulated echo-amplitude
information from the receiver along with echo-position information
(based on timing), from its original format into a signal format that
can be fed to a standard video display monitor or recording device.
11
During the conversion to digital, discrete shades of gray are assigned
to the incoming echo amplitudes. This process is called pre
processing. Selectable pre processing (on some systems) permits the
operator to vary the texture of the displayed image. Because pre
processing occurs prior to the digital memory, changing the selection
will not affect any image information once it is stored. Edge
enhancement is a form of pre processing that sharpens the borders of
a structure.
13
Post-processing
Post-processing operations enable the sonographer to manipulate the
image data after it has been stored in the scan converter but before it
is displayed on the video display screen.
Image data stored in the memory (scan converter) are converted back
to analog signals and sent to a video monitor for display.
Examples of Post-processing:
- Grayscale assignment, example, by changing this function, pixels
with similar values over a narrow range can be displayed with
different brightness levels, thus allowing them to be distinguished
from one another on the display.
- Read zoom is a display magnification technique that is applied to
the scan data after collection. The "zoomed" image usually appears
fuzzier or unfocused compared to a write zoom image
- Black and white inversion is a display manipulation technique that
reverses white and black in the exhibited image.
14