Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(20 points.) We talked in class about Weber's Law, which has to do with how humans perceive very similar intensities. This problem attempts to
(20 points.) We talked in class about Weber's Law, which has to do with how humans perceive very similar intensities. This problem attempts to demonstrate that in Matlab for your own eyes. It should remind you of the beginning of a video game where you're asked to change the brightness of the game until you can just noticeably perceive some dark symbols on a dark background. It will help if you make a little GUI or keyboard routine to interactively draw the following squares instead of doing it in the command line. (a) Create an 8-bit 1000 x 1000 image that has constant intensity I = 0. (b) On top of this image, generate a square 10 pixels in from the edges which has an intensity level I+ AI, where initially AI = 1. That is, this square will be 980 x 980, centered in the middle of the all-black image. (c) Can you visually, easily perceive the intensity difference between the two squares? Probably not. In this case, increment A/ by 1 and redraw the center square. Keep on incrementing until you feel like you can clearly, unambiguously see the dividing line between the two squares. Update I with the current intensity value I+ AI, and reset AI = 1. (d) Now go back to step 2 and repeat the process, creating a series of concentric squares that end when I = 255.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started