




























































































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!





























































































In the history of science, researchers have tried to record their observations pictorially. Initially, the main method to “acquireˮ images of what was inside the human body was through dissection technique of cadavers. Yet, as technology advanced, novel medical imaging modalities emerged persisting to the present day. However, the evolution of biomedical instrumentation sometimes derives from other fields. For instance, military research has led to ultrasound technology, while nuclear reactors have helped create radio-pharmaceuticals for nuclear medicine. Letʼs delve deep into the different techniques of imaging.
X-ray technology involves the use of electromagnetic radiation to create images of the inside of the body. In case of planar radiography, X-rays are directed through the patient and detected using a flat panel beneath them. The detected X-ray energy is converted to light, then into voltage and finally itʼs digitized. The acquired image is a two-dimensional projection of the tissues lying between the source and the detector of X-rays. Bones and calcifications are clearly visible due to their high X-ray absorption compared to the one of soft tissue.
For some clinical diagnoses, it is necessary to acquire a three-dimensional image. This can be done through the so called X-ray computed tomography CT scan. In CT scans, the X-ray source and detectors rotate around the patient, capturing one-dimensional projections. These projections are then reconstructed into a two-dimensional image. Horizontal movement of the patient during image acquisition adds the third dimension.
7.4 Projection theorem 7.5 Discrete Fourier reconstruction 7.6 Filtered Backprojection algorithm
Planar scintigraphy: itʼs the most basic technique and it provides a two-dimensional image analogous to a planar X-ray scan. Single Photon Emission Computed Tomography SPECT it produces a series of contiguous two-dimensional images of the distribution of the radiotracer. Positron Emission Tomography PET it involves a different type of radiotracer that emits positrons (positively charged electrons) and it produces high quality three-dimensional images.
Of all the standard clinical imaging techniques ultrasound is by far the least expensive and most portable. It can acquired continuous images at real-time without safety concerns.
Ultrasound imaging works by emitting high-frequency sound waves into the body, which bounce off organs and tissues, creating echoes.
These echoes are then captured by a transducer and converted into real-time images displayed on a monitor, allowing visualization of internal structures without using ionizing radiation.
The clinical used frequency is between 1 and 15 MHz, while the speed of sound in tissues is 1540 m/s. So the range of wavelengths of ultrasound in tissue is between 0.1 and 1.5 mm
Additionally, ultrasound can assess blood flow and identify flow direction using varying gray scale levels.
Itʼs the most recently 1973 imaging technology.
MRI provides a spatial map of the hydrogen nuclei (water and lipid) in different tissues.
The MRI system has three main parts: a superconducting magnet, a set of magnetic field gradient coils, and a radiofrequency transmitter and receiver.
The superconducting magnet is very strong, about 3 Tesla, much stronger than the Earth's magnetic field.
This magnet causes the protons in the body to spin at a certain frequency, known as the 'resonance' frequency.
The magnetic field gradients change this frequency depending on where the protons are in the body, allowing the MRI machine to create detailed images.
The main advantages of this technique are:
No ionizing radiation required Images can be both two or three dimensional Excellent soft-tissue contrast High spatial resolution
The main disadvantages are:
Slower 30 40 minutes) compared to CT and ultrasound Patients with metallic implants are precluded from MRI Expensive
Bio-images can be classified into different categories according to the chosen discriminating element.
An imaging technique is said to be invasive if it involves the introduction of an instrument, such as a probe or a catheter, into the patientʼs body.
Otherwise, the technique is non-invasive.
As we previously seen, there are different types of techniques such as radiography, scintigraphy, ultrasound and so on.
Images can also be categorized based on whether contrast agents were used during acquisition or not.
Quantization: itʼs the process of converting the sampled analog signal into a digital signal by assigning discrete numerical values (digital codes) to each sample. The number of bits used to represent each sample determines the precision or dynamic range of the digital signal.
Example:
Example:
When an image is black and white (grayscale), each element in the sampling matrix represents a different shade of gray. After sampling, a quantizer is applied to transform the sampled values into discrete numerical values typically ranging from 0 to 255.
For a color image, the sampling matrix represents different levels of red, green, and blue RGB intensities at each pixel.
The digital image processing system involves capturing image data using image sensors, converting the analog signals into digital format using ADCs, storing the digital image data in image memory, processing the images using specialized software, converting the processed digital data back into analog signals using DACs, and finally displaying the visual images on a display device. Example of image sensors:
Another way is to average signal from different scans.
In the image below, a is obtain with a single scan, b with 2 identical scans averaged, c with 4 and d with 16 scans.
Quality of images depends also on the technique used for the acquisition. Below we can see from left to right: image of the breast obtained with radiographic, magnetic resonance, ultrasound and scintigraphic techniques.
Gamma Rays PET and SPECT
X-rays CT
Ultra-violet
Visible-light Microscope, camera system
Infrared
Microwaves
Radio waves
Resolution in imaging refers to the ability to distinguish between closely spaced objects or details in an image.
When imaging a very small, bright point on a dark background, such as a point source of light, it may not appear as sharp in the image as it actually is. Instead, it will appear as a smoothed-out blob, which is known as the point spread function PSF. The PSF describes how light from a point source spreads out in the image due to factors like optical imperfections and diffraction.
When two such blobs are placed close together, at a distance equal to or shorter than the resolution limit of the imaging system, they will no longer be distinguishable as two separate objects.
This is because the blurred edges of the blobs overlap, making it difficult for the observer to discern individual points. This distance at which two points merge into a single blob defines the resolution limit of the imaging system.
Higher the number of pixels, higher the resolution.
Pay attention: the dimension of the image and the number of pixels within the image are two different things.
In the example below, the dimension is reduced, maintaining the same number of pixels:
Here instead, the dimension is the same for all the pictures, but the resolution decreases.
MATLAB functions
imread() % reading an image with different postfixes imresize() % resizing an image to any given size figure % opening a new graphical window subplot(#of row, # of col, location) % showing different % plots/images in one graphical window imshow() % displaying an image
% -----------------------------------Example code ------------------------ % Generating figure
im=imread('obelix.jpg'); im=rgb2gray(imread('obelix.jpg')); % Transform the image from RGB to gray im1=imresize(im, [1024 1024]); % Change the dimension of the image without im2=imresize(im1, [1024 1024]/2);
In the following image we can see that the variation of the gray levels doesnʼt impact the acquired XRay images of the brain.
MATLAB code
% Example im=imread('obelix.jpg'); im=rgb2gray(imread('obelix.jpg')); im1=imresize(im, [1024 1024]); im2= gray2ind(im1,2^7); im3= gray2ind(im1,2^6); im4= gray2ind(im1,2^5); im5= gray2ind(im1,2^4); im6= gray2ind(im1,2^3); im7= gray2ind(im1,2^2); im8= gray2ind(im1,2^1);
figure; subplot(2,4,1);imshow(im1,[]);subplot(2,4,2);imshow(im2,[]) subplot(2,4,3);imshow(im3,[]);subplot(2,4,4);imshow(im4,[]) subplot(2,4,5);imshow(im5,[]);subplot(2,4,6);imshow(im6,[]) subplot(2,4,7);imshow(im7,[]);subplot(2,4,8);imshow(im8,[])
Consider a general operator. Given an image as input, outputs an image :
is called a linear operator if
where are constant values.
See slide
Average:
Example:
Zooming and shrinking are processes to enlarge (zooming) or reduce (shrinking) the size of a digital image. To perform zooming, first, new pixels need to be created to fill in the increased size of the image; then, gray values are assigned to these new pixels. Gray levels are determined using interpolation.
Interpolation refers to the method used to generate new pixels when resizing an image.
Given a pixel of coordinates , we can define: Horizontal and vertical neighbors as:
Diagonal neighbors as:
For a total of 8 neighbors.
Consider the following pixel, which four vertices coordinates are :
The gray values at the four corners are respectively.
Suppose that you want to determine the gray value at coordinates based on the known gray values at the four vertices.
We can use different types of interpolation methods:
Linear interpolation First, we need to compute the gray value at by linearly interpolating between the gray values at and :
Then, compute the gray value at by interpolating between the gray values at and .