A QR code photographed in poor lighting, so that it can be difficult to distinguish black and white pixels. The gray color (X) in each pixel is therefore coded on a scale from 0 (white) to 100 (black). The true pixel value (without shadow) the code is Y = 0 for white, and Y = 1 for black. We treat X and Y as random variables. For the highlighted pixel in the figure is the gray color X = 20 and the true pixel value is white, i.e. Y = 0. We assume that QR codes are designed so that, on average, there are as many white as black pixels, which means that pY (0) = pY (1) = 1/2. In this situation, X is continuously distributed (0 ≤ X ≤ 100) and Y is discretely distributed, but we can still think about the simultaneous distribution of X and Y. We start by defining the conditional density of X, given the value of Y :  fX|Y(x|0) = "Pixel is really white" fX|Y(x|1) =" Pixel is really balck " Make a sketch o

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%

A QR code photographed in poor lighting, so that it can be difficult to distinguish black and white pixels. The gray color (X) in each pixel is therefore coded on a scale from 0 (white) to 100 (black). The true pixel value (without shadow) the code is Y = 0 for white, and Y = 1 for black. We treat X and Y as random variables. For the highlighted pixel in the figure is the gray color X = 20 and the true pixel value is white, i.e. Y = 0. We assume that QR codes are designed so that, on average, there are as many white as black pixels, which means that pY (0) = pY (1) = 1/2. In this situation, X is continuously distributed (0 ≤ X ≤ 100) and Y is discretely distributed, but we can still think about the simultaneous distribution of X and Y. We start by defining the conditional density of X, given the value of Y : 
fX|Y(x|0) = "Pixel is really white"

fX|Y(x|1) =" Pixel is really balck "

Make a sketch on a coordinate system of the marginal density distribution fX(x) which is given in the attatched picture. 

fx(x) = Σy fx|x(x|y)py(y)
fx|y(x|0)
fx|y(x1)
=
=
3
100
3
100 100
1
X
100)
X 2
2
0≤x≤ 100.
Transcribed Image Text:fx(x) = Σy fx|x(x|y)py(y) fx|y(x|0) fx|y(x1) = = 3 100 3 100 100 1 X 100) X 2 2 0≤x≤ 100.
25
ETS
ドロ
Transcribed Image Text:25 ETS ドロ
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman