srdp
Newbie level 2
- Joined
- Feb 9, 2015
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 25
Hi,
I am new to this "edaboard". I am a graduate student specializing in digital communications.
Can anyone please help me to solve the below problem which is required for my final project.
I am now in the process of learning matlab and simulink software. I am not fully aware of the matlab commands. So i request your kind help as soon as possible. PLEASE.
Suppose that a flat area with center at (x0,y0 )is illuminated by a light source with intensity
distribution
i(x, y) =Ke^-[(x-x0 )^2+( y-y0 )^2 ] /sigma^2
Assume for simplicity that the reflectance of the area is constant and equal to 1.0, and let
K =255 and sigma= 20 .
(1) Write a Matlab program to
(i) create and visualize this image. Assume (x0 ,y0 )= (50,50) is the center of the
image and the image has 99 rows and 99 columns;
(ii) digitize the image with k bits of intensity resolution and display the quantized
image and its surface for k =8 , k = 6 , k = 4 and k =2 . (Hint, you can use
Matlab functions “imshow” and “surf” ).
(2) If the eye can detect an abrupt change of 16 shades of intensity between adjacent
pixels, what value of k (>0) will cause visible false contouring? Display the quantized
image(s) with all the possible values of k (>0) that will cause visible false contouring.
Awaiting for your kind reply ASAP.
Thank you..
I am new to this "edaboard". I am a graduate student specializing in digital communications.
Can anyone please help me to solve the below problem which is required for my final project.
I am now in the process of learning matlab and simulink software. I am not fully aware of the matlab commands. So i request your kind help as soon as possible. PLEASE.
Suppose that a flat area with center at (x0,y0 )is illuminated by a light source with intensity
distribution
i(x, y) =Ke^-[(x-x0 )^2+( y-y0 )^2 ] /sigma^2
Assume for simplicity that the reflectance of the area is constant and equal to 1.0, and let
K =255 and sigma= 20 .
(1) Write a Matlab program to
(i) create and visualize this image. Assume (x0 ,y0 )= (50,50) is the center of the
image and the image has 99 rows and 99 columns;
(ii) digitize the image with k bits of intensity resolution and display the quantized
image and its surface for k =8 , k = 6 , k = 4 and k =2 . (Hint, you can use
Matlab functions “imshow” and “surf” ).
(2) If the eye can detect an abrupt change of 16 shades of intensity between adjacent
pixels, what value of k (>0) will cause visible false contouring? Display the quantized
image(s) with all the possible values of k (>0) that will cause visible false contouring.
Awaiting for your kind reply ASAP.
Thank you..