Android Phone Color Resolver
Project detail
Program will display a screen that is the view through the phone camera.
User will point the camera at an item and record an image
Image will be remain displayed on screen
User will then indicate a point in that image by touching the displayed image
Program will determine the RGB value of that point, based on the center of the touched point and the average of the 25 local pixels (5 x 5) around the selected touch point.
Program will use the RGB data in a 16K reference table to determine a result
Table will be like this (Table will be provided as a text file.) Table will be part of the program (as constants).
Red Green Blue Result
255 0 0 5.1
245 0 0 6.2
…
0 255 0 12.4
0 245 0 13.7
…
0 0 255 5.1
0 0 245 16.5
etc.
Table will cover all RGB values between 0,0,0 and 255,255,255 in approx 10 integer jumps with a Result for each entry. Program should select the closest tripple to the determined RGB value.
Program will return the Result value
Result value will range between 0 and 20 with a single decimal place (tenths)
Program will provide a button to run the program again
Program will allow entry of a Correction Factor that will be retained between execution of the program (stored on the phone). The correction factor (which may be positive or negative) will be added to the Result.
Proram will provide an exit button.
All source code must be provided.