0% found this document useful (0 votes)
21 views2 pages

HW 55

The document outlines an experiment for a Biomedical Image Processing course at the College of Technology in Riyadh, focusing on bit level slicing using MATLAB. It instructs trainees to follow specific steps, including writing a MATLAB script, modifying an image, and creating a report with figures and comments. The experiment requires the use of a provided image and emphasizes the importance of documentation and presentation of results.

Uploaded by

eke85807
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

HW 55

The document outlines an experiment for a Biomedical Image Processing course at the College of Technology in Riyadh, focusing on bit level slicing using MATLAB. It instructs trainees to follow specific steps, including writing a MATLAB script, modifying an image, and creating a report with figures and comments. The experiment requires the use of a provided image and emphasizes the importance of documentation and presentation of results.

Uploaded by

eke85807
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

KINGDOME OF SAUDI ARABIA

Technical and Vocational Training Corporation

College of Technology in Riyadh

Department: Electronics Major: Biomedical Equipment

Course: Biomedical Image Processing - EBMT472 Experiment (6) 6-7-1445

:Name: Trainee ID

Question1: please Do the following steps using MATLAB After fishing the lab
experiment Make a report it must includes the code the figure and comment about
.your work

Look at example 3.2 on page 44 of your textbook (Biomedical Signal and Image
.Processing Najarian and Splinter ). follow the steps

This program is used for bit level slicing use the figure of Fluoroscopy that given to you
with attachment (p_3_4.jpg)

a) Explain briefly about bit level slicing

b) Open a new file at desktop and save your work name it by your initials

c) Write a MATLAB script and name it bitlevel(yourinitials).m – so my program will be


bitlevel MA.m (MA are my initials) Make the following the code that given to you
already in the file (MATLAB Command) Apply it to the image ‘p_3_4.jpg’ (in the
files section).
Instead of slicing the last 4 bits, slide off the last three bits (k(6) = 0, k(7) = 0, k(8)

d) the figure should be include your name (-use insert-textbox) (use insert - title name it
as FS) also use (insert x label name is as Day of today ) and( y label as date of today )

e) Attach the program and images (original and final) to your solution file in a word
document.

MATLAB Command
clc
close all
clear all
I = imread('peppers.png');
imshow(I,[0 255]);
S=size (I);
I=double(I);
I=dec2base(I,2);
newS=size(I);
J = zeros(S(1),S(2));
for i= 1:newS(1)
k=char(I(i,:));
k(6)= '0';
k(7)= '0';
k(8)= '0';
k=base2dec(k,2);
a=fix(i/S(1))+1;
b=mod(i,S(1));
if b==0
b=S(1);
a=(a-1: 22)
end
J(b,a)=k;
end
figure
imshow(J,[0 255]);

You might also like