Starting from:
$30

$24

EEE Medical Imaging Homework 1 Solution

    1) Find one image from each of the following medical imaging modalities: x-ray, CT, PET, ultrasound, MRI, and MPI. Clearly label the imaging system and indicate which organ/tissue is shown in the image (e.g., head, torso, heart, kidneys, liver etc.). For reference, include the URLs of the source webpages under each image or DOI number if images taken from an article.

    2) For each system with the following input-output equation, determine whether the system is linear and determine whether it is shift-invariant:

        a)   (  ,   ) =   (2  , 1) −   (0, !")

        b)   (  ,   ) = ##$   (   − %,   )

    3) Given a continuous signal,   (  ,   ) =  " ++  &, evaluate the following:
        a)   (  ,   )  (   − 2,  + 1)

        b)   (  ,   ) ∗   (   − 3,  + 1)
        c) ∫('' ∫(''   (   − 1, 2  )  (  ,   )

        d)   (   + 2, −2) ∗   (   − 2,  + 1)

    4) Find the 2D Fourier transforms of the following continuous signals. You can make use of Fourier Transforms tables for any known relations.

        a)   (  ,   ) =  )"*+!!

        b)   (  ,   ) =   (   − 2, 3  )

        c)   (  ,   ) =         (2  , 4   − 1)

        d)   (  ,   ) =@$" , 8  B )"*(-!$./+!!)

        e)   (  ,   ) =         (2   − 3, 3  ) ∗ sin(     − 6    )

        f)   (  ,   ) =         (   − 1, 4  ) cos(4     − 2    )

        g)   (  ,   ) =  ("*($".1!") ∗ cos (     + 3    )


1
PREPARATION 1) Centered FFT: In medical imaging, the preferred way to display the image and the Fourier domain data is such that the origin is at the center of the image or data array. The usual convention for the FFT in MATLAB, however, is that the origin is at the beginning of the array, or the upper left corner of a 2D array. To do a centered FFT, you want to do fftshift/ifftshift before/after the FFT. To do this, define the following functions in MATLAB:

function d = fft2c(im)

    • d = fft2c(im)
    • 
    • fft2c performs a centered fft2 im = fftshift(fft2(ifftshift(im))); end

function im = ifft2c(d)

    • im = fft2c(d)
    • 
    • ifft2c performs a centered ifft2 im = fftshift(ifft2(ifftshift(d))); end

When you type ‘help fft2c’ in Matlab, you will now see the commented text that gives the function usage.

Pay attention to including “help” sections when you create your own functions/scripts.

You may also want the corresponding one dimensional versions fftc and ifftc. Note that fftshift and ifftshift give exactly the same result when the array size is even-valued, but are different otherwise.


PREPARATION 2) Displaying the magnitude spectrum: To display the magnitude spectrum as an image, we typically do the following:

>> imshow(log(abs(F)+1),[])

where F is the 2D Fourier transform of an image. In Fourier domain, the value at DC (i.e., at the origin of Fourier domain) is much larger than the values elsewhere. The “log” operation brings these values closer together, so that we can display the entire magnitude spectrum more easily. The addition of 1 is to avoid the log(0) problem.


    5) MATLAB QUESTION: Generate a “phantom” image in MATLAB using the following command: P = phantom('Modified Shepp-Logan',512);
This digital phantom presents an axial crosscut of a human body, showing the lungs, the heart, and a few blood vessels. Assume that this is our object of interest, with its physical x-axis and y-axis ranging from −20 cm < ≤ 20 cm and −20 cm < ≤ 20 cm (i.e., 512 pixels corresponding a physical extent of 40 cm). “P” is our “ideal” image. Answer the following questions:

Hint: You may want to use the following functions in MATLAB: imshow, meshgrid

        a) Display the “ideal” image P and its magnitude spectrum.

        b) We image this phantom using three different medical imaging systems with point spread functions (PSF) given below. Display the PSFs and the magnitudes of the transfer functions for these systems. Choose reasonable x and y values such that you capture the whole PSF.


2
    i. ℎ2(  ,   ) =/ @$3 , !"B
ii.
ℎ"(  ,   ) =
2
(
#"$%"
with
= 2




"&
"




"*4"






        iii. ℎ&(  ,   ) =         ($" , !5)

    c) Display the images resulting from each medical imaging system in part (b). Also, display the magnitude spectrum of each resulting image.

    d) Explain what you see in the images and the resulting magnitude spectrums, and briefly comment on the quality of the images.






















































3

More products