midterm_2018_Fall

.pdf

School

Concordia University *

*We aren’t endorsed by this school

Course

444

Subject

Electrical Engineering

Date

Jan 9, 2024

Type

pdf

Pages

4

Uploaded by ProfBaboon3652

Report
1 ELEC 444/6661 Medical Image Processing Midterm, 2018 Time allotted: 105 min. From 12:00noon to 1:45PM A 1-sided letter size crib sheet allowed. Answer on this question booklet. Material written elsewhere will NOT be graded. ENCS tagged calculator is allowed 4 pages, 8 questions, 20 points total Assumes all codes are in MATLAB. 1) What is V3 after running the following code (1 points)? no need to explain, just circle the answer V1 = [0, 3; 1, 2]; V2 = [1, 1; 2, -1]; V3 = V1 .* V2; a) [0, 3; 1, 2] b) [0, 3; 2, -2]; c) 2 d) [1, 1; 2, -1]; e) error message. Operation not allowed in Matlab 2) Assume we have I0 , the 3x4 image shown below, where the intensity of each pixel is provided. 1 0 2 2 2 2 1 2 1 2 1 5 a) Fill out column 2 of table below, which can be considered a histogram of I0 (1 point). b) Perform discrete histogram equalization to fill out the 3rd column. The final intensity must remain integer. (2 point). Show your work Intensity of I0 Number of pixels in I0 Intensity after histogram equalization 0 1 2 3 4 5 a) Fill out the pixel intensities below after histogram equalization (1 point). _ _ _ _
2 3) Let I1 be a 3D T1 MRI volume of brain. What is the difference between the following two histograms (explain in one line only) (1 point) a) hist(I1(:)) b) J = flipdim(I1,1); J = flipdim(J,2); J = flipdim(J,3); hist(J(:)) For the following 2 questions, assume: function output_I = func_operation(input_I, J) vec = [0.5, 0, -0.5]; output_I = input_I; for j = 1:J output_I = conv2(output_I, vec,'same'); end 4) Let I0 be a T1 MRI image from BrainWeb, and let I1 and I2 be defined as following: I1 = func_operation (I0,1); I2 = func_operation (I0’,1); I2 = I2’; I3 = func_operation (I0,2); Explain the following (each in 1 line only): a) What is I1 (1 point)? b) What is I2 (1 point)? c) What is I3 (1 point)? d) What is the difference between I1 and I2 (if there is negligible difference explain why) (1 point)? e) What is the difference between I1 and I3 (if there is negligible difference explain why) (1 point)? 5) Again, let I0 be a T1 MRI image from BrainWeb. Explain in 1 line what is the difference between I1 and I2 (if there is negligible difference explain why) (2 points): I1 = func_operation (I0,1); I2 = func_operation (I1,1); % note function input is I1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help