Академический Документы
Профессиональный Документы
Культура Документы
Contents:
Ch1. Introduction
1.What is an image?
1.1 Pixel
1.2 Gray scale
1.3 color scale
1.3.1 RGB
1.3.2 CMYK
2. Medical imaging
Ch1. Introduction
1. What is an image?
An image is an array, or a matrix, of square pixels
(picture elements) arranged in columns and rows.
[figure2]
1.1 Pixel
In digital imaging, a pixel (picture element) is the
smallest piece of information in an image. Pixels
are normally arranged in a regular 2-dimensional
grid, and are often represented using dots or
squares. Each pixel is a sample of an original
image, where more samples typically provide a
more accurate representation of the original. The
intensity of each pixel is variable; in color systems,
each pixel has typically three or four components
such as red, green, and blue.[figure1]
[figure1]:
1.2 Grayscale
[figure3]: Each pixel has a value from 0 (black) to 255 (white). The
possible range of the pixel values depend on the colour depth of the
image, here 8 bit = 256 tones or greyscales.
1.3.1 RGB
The RGB color model is an additive color model in
which red, green, and blue light are added together
in various ways to reproduce a broad array of
colors. RGB uses additive color mixing and is the
basic color model used in television or any other
medium that projects color with light. It is the basic
6
Figure [4]: The additive model of RGB. Red, green, and blue are the
primary stimuli for human color perception and are the primary
additive colours.
1.3.2 CMYK
The 4-colour CMYK model used in printing lays
down overlapping layers of varying percentages of
transparent cyan (C), magenta (M) and yellow (Y)
inks. In addition a layer of black (K) ink can be
added. The CMYK model uses the subtractive color
model.[figure5]
2. Medical imaging
Medical imaging refers to the techniques and
processes used to create images of the human
body (or parts thereof) for clinical purposes
(medical procedures seeking to reveal, diagnose or
examine disease) or medical science (including the
study of normal anatomy and function).
As a discipline and in its widest sense, it is part of
biological imaging and incorporates radiology (in
the wider sense), radiological sciences, endoscopy,
(medical) thermography, medical photography and
microscopy (e.g. for human pathological
investigations). Measurement and recording
techniques which are not primarily designed to
produce images, such as electroencephalography
(EEG) and magneto-encephalography (MEG) and
others, but which produce data susceptible to be
represented as maps (i.e. containing positional
9
1. Segmentation
In computer vision, segmentation refers to the
process of partitioning a digital image into multiple
regions (sets of pixels "we will explain the term pixels later"). 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. Image
12
[figure7]: show
example of segmentation
Computer-guided surgery.
Diagnosis.
Treatment planning.
Study of anatomical structure.
9 - Multi-scale Segmentation.
10 - Semi-automatic Segmentation.
11 - Neural Networks Segmentation.
12 - Open Source Software.
2. Cluster analysis
is the classification of objects into
different groups, or more precisely, the partitioning
of a data set into subsets (clusters), so that the
data in each subset (ideally) share some common
trait - often proximity according to some defined
distance measure. Data clustering is a common
technique for statistical data analysis, which is
used in many fields, including machine learning,
data mining, pattern recognition, image analysis
and bioinformatics. The computational task of
classifying the data set into k clusters is often
referred to as k-clustering.
Clustering
15
16
Now the
centroids are
moved to the
center of their
respective
clusters.
19
3. Wavelet
A wavelet is a mathematical function useful in
digital signal processing and image compression
(divide a given function or continuous-time signal
into different frequency components and study
each component with a resolution that matches its
scale) . The use of wavelets for these purposes is a
recent development, although the theory is not
new.
The principles are similar to those of Fourier
analysis, which was first developed in the early
part of the 19th century.
20
;I1=im2double(It)
This command will double the size of the image
26
'dwt2(I1,'bior3.5 = [cA,cH,cV,cD]);
This is the image after we do the wavelet
command on it
;tot=cat(3,cA,cD)
the command (cat) will combine the four image
that we get it from the wavelet in single image
;ab=im2double(tot
This command will double the size of the image
;ab1=reshape(ab,76*76,2)
;pixel_labels = reshape(cluster_idx,76,76)
this command will reshape the image after
clustering
;imshow(pixel_labels,[])
this command will show us the final image after
clustering
Finaly we get this image :
27
5. Conclusion :
During this project we learned a lot of
interesting things. We get some
experience in image processing
segmentation and K-mean clustring in
theory and in practice using Matlab-7
software. the benefit of the K-mean
clustering that its simplicity and speed
which allows us to run on large datasets.
28
6. References:
Medical imaging
http://en.wikipedia.org/wiki/Medical_imaging
image processing
http://en.wikipedia.org/wiki/Image_processing
Segmentation
http://en.wikipedia.org/wiki/Segmentation_
%28image_processing%29
Pixel
http://en.wikipedia.org/wiki/Pixel
Cluster analysis
http://en.wikipedia.org/wiki/Cluster_analysis
Clustering Methods
http://en.wikipedia.org/wiki/Segmentation_
%28image_processing
%29#Clustering_Methods
K-means algorithm
http://en.wikipedia.org/wiki/Kmeans_algorithm
Wavelet
http://whatis.techtarget.com/definition/0,,sid
9_gci213341,00.html
29