Lab 3
Lab 3
Lab 3
UEMB 3244
MEDICAL IMAGING
LAB 3:
Introduction to Medical Image Processing and Analysis II – Voxel-
based Registration
NAME : ____________________________________________
STUDENT ID : ____________________________________________
Objectives (Optional)
Introduction
*Item category
SP Sample or specimen
C Consumable
CH Chemical
W Labware, glassware, tool, and
components
E Equipment
S Software
Procedure
2
UNIVERSITI TUNKU ABDUL RAHMAN (UTAR)
LABORATORY
OBJECTIVES
INTRODUCTION
This lab is designed to introduce image processing and analysis, specified focus will be on
different image registration techniques.
In the lab, the students will work on the main concepts of voxel-based image registration.
Throughout this practical, the students need to align two images, which are referred to as the
target image (which remains fixed throughout the process) and the source image.
INSTRUCTIONS
3
VOXEL-BASED REGISTRATION
Voxel similarity based registration algorithms generally consist of the calculation of the
geometrical transformation which, when applied to the source image, maximizes a similarity
function. This similarity function estimates how similar the images are once the transformation
has been applied. There are several possible similarity functions; two of them, namely sum of
squared differences (SSD) and normalized mutual information (NMI) will be studied in this
practical. In order to focus on similarity values, the transformation will be restricted to a simple
translation and an optimizer will not be used in this part of the practical.
i. Use imread () to read in the images, brain_t1.tif and brain_t1_trans.tif, and display them
as the above (using equal axes and gray colormap). Find the difference of images by
subtracting one from the other to appreciate that the two images are identical except for
a translation.
ii. Use the provided functions in the ‘registration’ folder, translate_image () and
mean_square_difference () to implement a “brute-force” approach to register the
images, by calculating the mean square difference measure for a matrix of possible x and
y translation values, and then calculating the position of the minimum of the matrix.
NOTE: the input image of translate_image function should be in double format.
Write a function which does this: save the similarity values in an array called sim_values
and show them using the surf () function.
❖ Include your algorithm and codes below (only the important part):
iii. Is there a clear minimum in the similarity values? The presence of a clear, global minimum
will make it easier for a minimization algorithm to work. Does the minimum correspond
to the correct translation? Check this by inspecting the difference between the two
aligned images.
❖ Insert below the difference images before and after registration, and the surface (surf):
4
iv. Open and display now once more the image brain_t2.tif. Apply the same voxel-similarity
registration program you just wrote to try to align brain_t2 and brain_t1_trans.
v. Try now an alternative similarity function: mutual_information(). The function returns the
negative of the actual mutual information value so that the minimum of the returned
values can be used to register the T1/T2 image pair. Explain and include your registration
result below.
vi. As a final task, substitute the brute-force approach (which is obviously very inefficient)
with a proper optimization algorithm or any other minimization routine such as
fminserach in Matlab. Apply this to any of the question above and include the registration
result below. Briefly discuss the advantages of this new method when compared to the
brute-force approach.
(Note: please make sure you understand how to do this because you need to use
5
fminserach to fit the data in the assignment.)
images – images
registration – codes
EXTRA
In order to make this lab to become more practical and interesting, please download the
Parkinson’s Disease data from this link: Extra PD Data ; first scan in 2014 and follow-up scan in
2015.
Use any of the registration technique you learnt from this lab to register these two 3D T1 data.
6
In the lab report, prepare it according to the following format:
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
The report should not be more than 8 PAGES, all inclusive (including cover page, references and
appendix).
Please upload a pdf copy of your report with the naming of the file as
[FullSurname][FirstLetterofGivenName], e.g. if my name is Tee Yee Kai, the pdf filename is
TeeYK.pdf, to the link provided on WBLE. Due before 5 pm on 28/04/2023.
Plagiarism is strictly prohibited and late submission in the absence of acceptable extenuating
circumstances will be subject to a penalty.
7
Marking Rubrics
Aspects (Weightage) 1 2 3 4 5
Poor Below average Average Good Excellent
Introduction & The background information Correct background Some introductory Introduction and methods are Introduction and methods are
Methods and methods are incorrect. information and methods but information and methods are almost complete; missing complete and well-written;
too little details. provided, but still missing some minor points. provides all necessary
some major points. background principles for the
experiment.
Results Most of the important data/ Some data/ figures/ graphs Most data/ figures/graphs are All data/ figures/ graphs are All data/ figures/graphs are
figures/ graphs are missing. are not provided. provided but with minor provided but with minor neatly presented and with
errors. errors or could still be proper labeling, captions, and
improved. descriptions.
Discussion Incorrect or improbable Least/weak interpretation of Basic interpretation and Almost all of the results have All important trends and data
interpretation about results. the results. discussion of the results. been correctly interpreted and comparisons have been
discussed; only minor interpreted correctly and
improvements are needed. discussed; good
understanding of results is
conveyed.
Conclusion Missing most of the Conclusions regarding some Conclusions regarding most All important conclusions All important conclusions
important points in the of the major points are of the major points are have been drawn, could be have been clearly made.
conclusion. drawn. drawn. better stated.
References Numerous citation and/or Some of the citations and Most of the citations and All citations and bibliography All citations and bibliography
bibliography errors. bibliography are correct, with bibliography are correct, with are shown according to the are shown exactly according
a couple of major errors. a couple of minor errors. guidelines with very minor to the guidelines, with no
inaccuracies. errors.
Grammar and style Numerous grammatical or Many obvious grammatical Some obvious grammatical or Very few grammatical or No grammatical or spelling
spelling errors are present or spelling errors are present spelling errors are present spelling errors can be found errors.
which cause most part(s) of which negatively affect which affect which does not affect the
the report to be understandability of the understandability of the report's quality.
incomprehensible. report. report.
Appearance and Sections out of order, sloppy Some of the sections are out Most sections are in order, All sections in order, All sections in order, well-
formatting formatting. of order, rough formatting. formatting are rough but formatting generally well but formatted, very readable.
readable. could still be improved.