0% found this document useful (0 votes)
16 views2 pages

Tasks For Home All in One

The document outlines a series of tasks related to evaluating camera quality, adjusting exposure settings, and applying color correction for image processing. Task 1 involves diagnosing camera issues and suggesting improvements, while Task 2 requires writing a script to calculate future exposure times based on histogram data and current settings. Task 3 focuses on using a color correction matrix to produce grayscale images from RGB data, specifying the criteria for the matrix to achieve this effect.

Uploaded by

demonwolfhd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Tasks For Home All in One

The document outlines a series of tasks related to evaluating camera quality, adjusting exposure settings, and applying color correction for image processing. Task 1 involves diagnosing camera issues and suggesting improvements, while Task 2 requires writing a script to calculate future exposure times based on histogram data and current settings. Task 3 focuses on using a color correction matrix to produce grayscale images from RGB data, specifying the criteria for the matrix to achieve this effect.

Uploaded by

demonwolfhd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Task 1:

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.

Please answer the following questions.

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.

Available information (Inputs for your script):

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

Output from the script:

1- Future exposure time for the next frame


Task 3:
Let’s say you have a camera that should be able to give both a color image and a grayscale image. From the sensor we get an image containing rgb data. To
correct the image and produce an image with the correct colors we apply a 3x3 color correction matrix to the rgb data.

[ ]
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.

You might also like