In Matlab, define a zero-filled 256x256 matrix named Bars by using the command, zeros. Create 2...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In Matlab, define a zero-filled 256x256 matrix named Bars by using the command, zeros. Create 2 vertical bars, centered on the image, of width 3 and height 40 and separated from each other by 8 pixels, by setting the appropriate matrix elements to the value 1. 1. Display the image, Bars. Your matrix can be displayed as a 2D grayscale image by using the commands, imagesc and colormap. Make the image square by using the command, axis square. (10 points) 2. Pick a horizontal line through the center of the test pattern. Plot the intensity profile of this line. Label the x and y axes appropriately. (5 points) 3. To accurately reconstruct this image by sampling-ignoring edge effects-how often (for every how many pixels) must you sample (hint: Ax = 3 pixels)? What is the fundamental principle behind sampling? (5 points) Simulate the effect of scatter by creating a new image Bars_Scatter that represents the 2-dimensional convolution of Bars with the point spread function of h: Bars Scatter = Bars" h where his approximated as a 1-dimensional exponential filter that is M = 51 pixels long, normalized to unity: h() - exp(-a-1-21), 1-1..M h(i)= h() A Σh() Perform convolution in MATLAB to compute Bars_Scatter using the command, conv2 with 'same' option. 4. Choose a = 1. Using the command subplot, display on the same figure the image (Bars_Scatter) and plot of the point spread function, h. What is the FWHM of h in terms of the number of pixels? (10 points) 5. Pick the same center horizontal line as you did in Problem 2 and plot the intensity profile of this line through. Bars Scatter. Plot the original intensity profile on the same axes using the command, hold on. Specify the original and new intensity profile by using the command, legend. What happened to the intensity profile of Bars Scatter compared to Bars? (10 points) 6. Now vary the value of 'a' so that the FWHM of his greater than the separation of the bars, i.e., 8 pixels) for which the bars are not resolvable. At what approximate value of 'a' can you no longer resolve the peaks of the bars in the image? Display the new image. (10 points) 7. On another figure, in one subplot, plot the original and new intensity profiles along the center horizontal line as in Problem 5. On the same figure, in a second subplot, plot the new point spread function, h, on a different axes. (5 points) 8. What happened to the new point spread function? What will be the point spread function of an ideal system with no scatter look like? (5 points) In Matlab, define a zero-filled 256x256 matrix named Bars by using the command, zeros. Create 2 vertical bars, centered on the image, of width 3 and height 40 and separated from each other by 8 pixels, by setting the appropriate matrix elements to the value 1. 1. Display the image, Bars. Your matrix can be displayed as a 2D grayscale image by using the commands, imagesc and colormap. Make the image square by using the command, axis square. (10 points) 2. Pick a horizontal line through the center of the test pattern. Plot the intensity profile of this line. Label the x and y axes appropriately. (5 points) 3. To accurately reconstruct this image by sampling-ignoring edge effects-how often (for every how many pixels) must you sample (hint: Ax = 3 pixels)? What is the fundamental principle behind sampling? (5 points) Simulate the effect of scatter by creating a new image Bars_Scatter that represents the 2-dimensional convolution of Bars with the point spread function of h: Bars Scatter = Bars" h where his approximated as a 1-dimensional exponential filter that is M = 51 pixels long, normalized to unity: h() - exp(-a-1-21), 1-1..M h(i)= h() A Σh() Perform convolution in MATLAB to compute Bars_Scatter using the command, conv2 with 'same' option. 4. Choose a = 1. Using the command subplot, display on the same figure the image (Bars_Scatter) and plot of the point spread function, h. What is the FWHM of h in terms of the number of pixels? (10 points) 5. Pick the same center horizontal line as you did in Problem 2 and plot the intensity profile of this line through. Bars Scatter. Plot the original intensity profile on the same axes using the command, hold on. Specify the original and new intensity profile by using the command, legend. What happened to the intensity profile of Bars Scatter compared to Bars? (10 points) 6. Now vary the value of 'a' so that the FWHM of his greater than the separation of the bars, i.e., 8 pixels) for which the bars are not resolvable. At what approximate value of 'a' can you no longer resolve the peaks of the bars in the image? Display the new image. (10 points) 7. On another figure, in one subplot, plot the original and new intensity profiles along the center horizontal line as in Problem 5. On the same figure, in a second subplot, plot the new point spread function, h, on a different axes. (5 points) 8. What happened to the new point spread function? What will be the point spread function of an ideal system with no scatter look like? (5 points)
Expert Answer:
Answer rating: 100% (QA)
1 Here is the code to create the Bars image and display it Bars zeros256256 Bars12832128321282012820 ... View the full answer
Related Book For
Understanding Basic Statistics
ISBN: 9781111827021
6th Edition
Authors: Charles Henry Brase, Corrinne Pellillo Brase
Posted Date:
Students also viewed these accounting questions
-
What is the fundamental principle of financial leverage?
-
What is the fundamental principle of financial lever-age? How does it pertain to the reasons why managers may choose to substitute debt for equity in their firms capital structure?
-
A LocalDate object _____________. a. Can be displayed as a String b. Contains static fields with data such as the current year c. Is created using a public default constructor d. All of the above
-
Two slot machines offer to double your money 3 times out of 5. Machine A takes $10 bets and Machine B takes $100 bets on each occasion. A risk-averse investor prefers to bet on A) Machine A B)...
-
Monetary unit sampling (MUS) is the most commonly used statistical method of sampling for tests of details because of its simplicity and its ability to provide statistical results in dollars. Read an...
-
The Prince-Robbins partnership has the following capital account balances on January 1, 2021: Prince, Capital Robbins, Capital $ 60,000 50,000 Prince is allocated 60 percent of all profits and losses...
-
Explain the terms res ipsa loquitur and judicial notice rule.
-
The following tasks are to be performed on an assembly line: The workday is seven hours long. Demand for completed product is 750 per day. a. Find the cycle time required to produce 750 units per...
-
In a statistically based quality improvement project for the turning of steel shafts it was observed that about 23 percent of the shafts failed to meet specifications. Those failures were divided...
-
On January 1, 2023, Logan Limited had shares outstanding as follows: 6% cumulative preferred shares, $100 par value, 10,000 shares issued and outstanding $1,000,000 Common shares, 200,000 shares...
-
While attending a donor review workshop, they mentioned that design process in project management plays a crucial role in ensuring the success, effectiveness, and efficiency of a project. Your CEO...
-
In June 2019, Forgefast PLC completed its IPO on Alternative Investment Market (AIM), an arm of the London Stock Exchange for smaller companies. Forgefast sold 20,000,000 shares of its stock at an...
-
Your car is skidding to a stop from a high speed. Describe a situation. For each problem, identify all the forces acting on the object and draw a free-body diagram of the object.
-
Tina is the sole owner of Tinas Lawn Mowing, Incorporated (TLM). In one year, TLM collects $1,000,000 from customers to mow their lawns. TLMs equipment depreciates in value by $125,000. TLM pays...
-
For fiscal year 2018, Tesco had total revenues of \($485.65\) billion, net income of \($16.36\) billion, total assets of \($203.49\) billion, and total shareholders equity of \($81.39\) billion. a....
-
Velocity Financial, Inc. conducted its IPO on January 17, 2020 for the principal purposes of increasing its capitalization and financial flexibility, creating a public market for its common stock,...
-
Bramble's Snowshoes usually sells its snowshoes for $135 per unit and allows Bramble's to earn a 20% profit margin. It has recently come to Bramble's attention that the expected selling price has...
-
Name some of the various types of financial intermediaries described in the chapter and indicate the primary reason(s) each was created.
-
How hard is it to reach a businessperson by phone? Let p be the proportion of calls to businesspeople for which the caller reaches the person being called on the first try. (a) If you have no...
-
The point estimate for the population mean of an x distribution is , computed from a random sample of the x distribution.
-
The quality-control inspector of a production plant will reject a batch of syringes if two or more defective syringes are found in a random sample of eight syringes taken from the batch. Suppose the...
-
Example 17.5 showed that a thin film whose thickness is one quarter of the wavelength of light in the film serves as an antireflection coating when coated on glass. In Example 17.5, \(n_{\text {film...
-
Give a specific example of a process that has the energy changes and transfers described. (For example, if the question states " \(\Delta E_{\mathrm{th}}>0, W=0\)," you are to describe a process that...
-
Give a specific example of a process that has the energy changes and transfers described. (For example, if the question states " \(\Delta E_{\mathrm{th}}>0, W=0\)," you are to describe a process that...
Study smarter with the SolutionInn App