codeincontext / MacLight

The mac client for MacLight. Sends color data to ArduinoLight devices
31 stars 6 forks source link

Theatre Mode [Feature Request] #4

Open tomgco opened 12 years ago

tomgco commented 12 years ago

Option to sample a ~20 pixel border of the main screen to give a better representation of the background.

For example, If you had a video of someone on video in the middle of the screen with a green background. I assume that you would want the average to be green and not the brown / black of the person?

In #3: "I'll add it in and see how it goes, but I'm pretty sure that it won't look great in practice without smoothing/averaging the colour output over time. You're likely to get flickers and flashes of colour as the camera pans etc, I reckon."

You could have a threshold for the hex values of the colours so you don't get these flickers.

codeincontext commented 12 years ago

Another option that could be worth investigating is another averaging mechanism (mode/median/magic instead of mean)