https://youtu.be/lqntPTtslf0

fiber deactivation result

When users click the “target color” button, the text on the button will turn into “Real color”. Then processing send all target colors of LEDs to python to do linear programming. The python calculates the color after deactivation and sends the data back.

Untitled

target color

target color

color after deactivation. We can see the differences between target color and real color are not obvious. The colors of top red triangles are different in the two pictures.

color after deactivation. We can see the differences between target color and real color are not obvious. The colors of top red triangles are different in the two pictures.

Algorithm for color gradient calculation

algorithmForGradient.png

Step 1: shoot images ( cyan under red, green, blue light for x s)

step 2: use opencv to extract the data and fit the surfaces.

step3: calculate the color between the LEDs.

Color Gradient Viewer

Untitled

The user can input the flashing time of a different color for each LED