blob: faf2718bd9075683fcb81f26ad0153e15c26694c [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001/*----------------------------------------------------------------------------*/
2/* Copyright (c) FIRST 2008. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
5/*----------------------------------------------------------------------------*/
6
7#ifndef __THRESHOLD_H__
8#define __THRESHOLD_H__
9
10/**
11 * Color threshold values.
12 * This object represnts the threshold values for any type of color object
13 * that is used in a threshhold operation. It simplifies passing values
14 * around in a program for color detection.
15 */
16class Threshold
17{
18public:
19 int plane1Low;
20 int plane1High;
21 int plane2Low;
22 int plane2High;
23 int plane3Low;
24 int plane3High;
25 Threshold(int plane1Low, int plane1High,
26 int plane2Low, int plane2High,
27 int plane3Low, int plane3High);
28};
29
30#endif