Tasks For Home All in One
Tasks For Home All in One
The following image/picture was taken from a camera unit in one of the tests during production/manufacturing. For this particular test the camera units will be
evaluated based on this image. You need to judge if the camera should PASS the test and be sold to the customers with this quality, or should it FAIL the test and
not be sold out to customers.
a) In your view, what is the problem with this camera and what could be the cause of the problem?
b) Choose the single most likely cause of the problem, what sort of test we should have to catch this problem?
c) How can we improve the production in this case?
Task 2:
In any given scene the light may change over time however a camera tries to maintain a certain level of brightness in the image/video. In order to do so, the
camera first determines/approximates the level of light in the scene with the help of few parameters. Then, based on the light level approximation, if needed,
the camera changes sensor exposure time and/or gain and or iris size. The camera has to do this adaptation to the lighting situation continuously.
Write an algorithm/script in Python/Matlab that has the following inputs (for every frame) and calculates the outputs (for every frame) given below. Please feel
free to make assumptions in case you believe something is missing in this description.
1- Histogram (size = 256 bins) of the current sensor raw image (The camera updates it for every frame)
2- Current exposure time
3- Minimum and Maximum allowed exposure times
4- Gain and iris size are both fixed and cannot be changed
[ ]
a11 a12 a 13
Color correction matrix: C= a 21 a22 a 23
a 31 a32 a 33
[]
r
RGB vector: v= g
b
'
The corrected rgb values is given by v =Cv .
When the camera is put into black/white mode (grayscale) the color correction matrix is used to remove the colors.
Using the color matrix above, describe how to achieve a grayscale output. What is the criteria on aij in order to achieve a grayscale output? Specify one
matrix that will achieve this.