sky.monome.frame.analyzer
Interface PictureAnalyzer
- All Known Implementing Classes:
- MidGreyAnalyzer
public interface PictureAnalyzer
Analyzer for pixels of a picture that is displayed in a PictureFrame
.
These objects return a led state for each pixel, and the calculation is based on Red/Green/Blue informations.
- Author:
- PJ Skyman
getLedStateForPixel
LedButtonCouple.LedState getLedStateForPixel(int[] pixel)
- Returns the led state that corresponds to specified Red/Green/Blue informations.
- Parameters:
pixel
- Red/Green/Blue informations of the desired pixel specified in an array of three integer values between 0 and 255 (included).
- Returns:
- The led state that corresponds to specified Red/Green/Blue informations.