FindIt
Class SinkColorValues

java.lang.Object
  extended by FindIt.SinkColorValues

public class SinkColorValues
extends java.lang.Object

An imlementation to set or get the True or Fulse values of recording condiotion for each color. When the ImageProcessor class recognize that a color appears in the process the corresponding, with the color, sink value (sinkYellow, sinkRed, etc.) becomes true and the data sink process starts in SinkData. Otherwise the corresponding, with the color, sink value becomes fulse and the data sink process stops.

Author:
Konstantinos Stathopoulos

Field Summary
static boolean sinkBlack
          True or Fulse Value (start or stop) of recording condition for Black color
static boolean sinkBlue
          True or Fulse Value (start or stop) of recording condition for Blue color
static boolean sinkBrown
          True or Fulse Value (start or stop) of recording condition for Brown color
static boolean sinkCyan
          True or Fulse Value (start or stop) of recording condition for Cyan color
static boolean sinkGray
          True or Fulse Value (start or stop) of recording condition for Gray color
static boolean sinkGreen
          True or Fulse Value (start or stop) of recording condition for Green color
static boolean sinkMagenta
          True or Fulse Value (start or stop) of recording condition for Magenta color
static boolean sinkOrange
          True or Fulse Value (start or stop) of recording condition for Orange color
static boolean sinkPink
          True or Fulse Value (start or stop) of recording condition for Pink color
static boolean sinkRed
          True or Fulse Value (start or stop) of recording condition for Red color
static boolean sinkWhite
          True or Fulse Value (start or stop) of recording condition for White color
static boolean sinkYellow
          True or Fulse Value (start or stop) of recording condition for Yellow color
 
Constructor Summary
SinkColorValues()
          Creates a new instance of SinkColorValues
 
Method Summary
 boolean getSinkBlack()
          Returns the value (True or Fulse) of recording condition (start or stop) for Black color
 boolean getSinkBlue()
          Returns the value (True or Fulse) of recording condition (start or stop) for Blue color
 boolean getSinkBrown()
          Returns the value (True or Fulse) of recording condition (start or stop) for Brown color
 boolean getSinkCyan()
          Returns the value (True or Fulse) of recording condition (start or stop) for Cyan color
 boolean getSinkGray()
          Returns the value (True or Fulse) of recording condition (start or stop) for Gray color
 boolean getSinkGreen()
          Returns the value (True or Fulse) of recording condition (start or stop) for Green color
 boolean getSinkMagenta()
          Returns the value (True or Fulse) of recording condition (start or stop) for Magenta color
 boolean getSinkOrange()
          Returns the value (True or Fulse) of recording condition (start or stop) for Orange color
 boolean getSinkPink()
          Returns the value (True or Fulse) of recording condition (start or stop) for Pink color
 boolean getSinkRed()
          Returns the value (True or Fulse) of recording condition (start or stop) for Red color
 boolean getSinkWhite()
          Returns the value (True or Fulse) of recording condition (start or stop) for White color
 boolean getSinkYellow()
          Returns the value (True or Fulse) of recording condition (start or stop) for Yellow color
 void setSinkBlack(boolean sink)
          Set the value sinkBlack true or fulse, starting or stoping the recording condition for Black color
 void setSinkBlue(boolean sink)
          Set the value sinkBlue true or fulse, starting or stoping the recording condition for Blue color
 void setSinkBrown(boolean sink)
          Set the value sinkBrown true or fulse, starting or stoping the recording condition for Brown color
 void setSinkCyan(boolean sink)
          Set the value sinkCyan true or fulse, starting or stoping the recording condition for Cyan color
 void setSinkGray(boolean sink)
          Set the value sinkGray true or fulse, starting or stoping the recording condition for Gray color
 void setSinkGreen(boolean sink)
          Set the value sinkGreen true or fulse, starting or stoping the recording condition for Green color
 void setSinkMagenta(boolean sink)
          Set the value sinkMagenta true or fulse, starting or stoping the recording condition for Magenta color
 void setSinkOrange(boolean sink)
          Set the value sinkOrange true or fulse, starting or stoping the recording condition for Orange color
 void setSinkPink(boolean sink)
          Set the value sinkPink true or fulse, starting or stoping the recording condition for Pink color
 void setSinkRed(boolean sink)
          Set the value sinkRed true or fulse, starting or stoping the recording condition for Red color
 void setSinkWhite(boolean sink)
          Set the value sinkWhite true or fulse, starting or stoping the recording condition for White color
 void setSinkYellow(boolean sink)
          Set the value sinkYellow true or fulse, starting or stoping the recording condition for Yellow color
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sinkYellow

public static boolean sinkYellow
True or Fulse Value (start or stop) of recording condition for Yellow color


sinkRed

public static boolean sinkRed
True or Fulse Value (start or stop) of recording condition for Red color


sinkBrown

public static boolean sinkBrown
True or Fulse Value (start or stop) of recording condition for Brown color


sinkGreen

public static boolean sinkGreen
True or Fulse Value (start or stop) of recording condition for Green color


sinkBlue

public static boolean sinkBlue
True or Fulse Value (start or stop) of recording condition for Blue color


sinkCyan

public static boolean sinkCyan
True or Fulse Value (start or stop) of recording condition for Cyan color


sinkBlack

public static boolean sinkBlack
True or Fulse Value (start or stop) of recording condition for Black color


sinkMagenta

public static boolean sinkMagenta
True or Fulse Value (start or stop) of recording condition for Magenta color


sinkWhite

public static boolean sinkWhite
True or Fulse Value (start or stop) of recording condition for White color


sinkGray

public static boolean sinkGray
True or Fulse Value (start or stop) of recording condition for Gray color


sinkPink

public static boolean sinkPink
True or Fulse Value (start or stop) of recording condition for Pink color


sinkOrange

public static boolean sinkOrange
True or Fulse Value (start or stop) of recording condition for Orange color

Constructor Detail

SinkColorValues

public SinkColorValues()
Creates a new instance of SinkColorValues

See Also:
VideoStreamController
Method Detail

setSinkRed

public void setSinkRed(boolean sink)
Set the value sinkRed true or fulse, starting or stoping the recording condition for Red color

Parameters:
sink - true or fulse value to start or stop the recording for Red color
See Also:
getSinkRed(), ImageProcessor.processImage(), ImageProcessor.startRedSink(), ImageProcessor.stopRedSink(), VideoStreamController.step(), ColoredShapesTracker.setRed(boolean), ColoredShapesTracker.close()

getSinkRed

public boolean getSinkRed()
Returns the value (True or Fulse) of recording condition (start or stop) for Red color

Returns:
True or Fulse Value (start or stop) of recording condition for Red color
See Also:
setSinkRed(boolean), ImageProcessor.processImage(), ImageProcessor.startRedSink(), ImageProcessor.stopRedSink(), VideoStreamController.step(), ColoredShapesTracker.setRed(boolean), ColoredShapesTracker.close()

setSinkOrange

public void setSinkOrange(boolean sink)
Set the value sinkOrange true or fulse, starting or stoping the recording condition for Orange color

Parameters:
sink - true or fulse value to start or stop the recording for Orange color
See Also:
getSinkOrange(), ImageProcessor.processImage(), ImageProcessor.startOrangeSink(), ImageProcessor.stopOrangeSink(), VideoStreamController.step(), ColoredShapesTracker.setOrange(boolean), ColoredShapesTracker.close()

getSinkOrange

public boolean getSinkOrange()
Returns the value (True or Fulse) of recording condition (start or stop) for Orange color

Returns:
True or Fulse Value (start or stop) of recording condition for Orange color
See Also:
setSinkOrange(boolean), ImageProcessor.processImage(), ImageProcessor.startOrangeSink(), ImageProcessor.stopOrangeSink(), VideoStreamController.step(), ColoredShapesTracker.setOrange(boolean), ColoredShapesTracker.close()

setSinkBrown

public void setSinkBrown(boolean sink)
Set the value sinkBrown true or fulse, starting or stoping the recording condition for Brown color

Parameters:
sink - true or fulse value to start or stop the recording for Brown color
See Also:
getSinkBrown(), ImageProcessor.processImage(), ImageProcessor.startBrownSink(), ImageProcessor.stopBrownSink(), VideoStreamController.step(), ColoredShapesTracker.setBrown(boolean), ColoredShapesTracker.close()

getSinkBrown

public boolean getSinkBrown()
Returns the value (True or Fulse) of recording condition (start or stop) for Brown color

Returns:
True or Fulse Value (start or stop) of recording condition for Brown color
See Also:
setSinkBrown(boolean), ImageProcessor.processImage(), ImageProcessor.startBrownSink(), ImageProcessor.stopBrownSink(), VideoStreamController.step(), ColoredShapesTracker.setBrown(boolean), ColoredShapesTracker.close()

setSinkYellow

public void setSinkYellow(boolean sink)
Set the value sinkYellow true or fulse, starting or stoping the recording condition for Yellow color

Parameters:
sink - true or fulse value to start or stop the recording for Yellow color
See Also:
getSinkYellow(), ImageProcessor.processImage(), ImageProcessor.startYellowSink(), ImageProcessor.stopYellowSink(), VideoStreamController.step(), ColoredShapesTracker.setYellow(boolean), ColoredShapesTracker.close()

getSinkYellow

public boolean getSinkYellow()
Returns the value (True or Fulse) of recording condition (start or stop) for Yellow color

Returns:
True or Fulse Value (start or stop) of recording condition for Yellow color
See Also:
setSinkYellow(boolean), ImageProcessor.processImage(), ImageProcessor.startYellowSink(), ImageProcessor.stopYellowSink(), VideoStreamController.step(), ColoredShapesTracker.setYellow(boolean), ColoredShapesTracker.close()

setSinkGreen

public void setSinkGreen(boolean sink)
Set the value sinkGreen true or fulse, starting or stoping the recording condition for Green color

Parameters:
sink - true or fulse value to start or stop the recording for Green color
See Also:
getSinkGreen(), ImageProcessor.processImage(), ImageProcessor.startGreenSink(), ImageProcessor.stopGreenSink(), VideoStreamController.step(), ColoredShapesTracker.setGreen(boolean), ColoredShapesTracker.close()

getSinkGreen

public boolean getSinkGreen()
Returns the value (True or Fulse) of recording condition (start or stop) for Green color

Returns:
True or Fulse Value (start or stop) of recording condition for Green color
See Also:
setSinkGreen(boolean), ImageProcessor.processImage(), ImageProcessor.startGreenSink(), ImageProcessor.stopGreenSink(), VideoStreamController.step(), ColoredShapesTracker.setGreen(boolean), ColoredShapesTracker.close()

setSinkCyan

public void setSinkCyan(boolean sink)
Set the value sinkCyan true or fulse, starting or stoping the recording condition for Cyan color

Parameters:
sink - true or fulse value to start or stop the recording for Cyan color
See Also:
getSinkCyan(), ImageProcessor.processImage(), ImageProcessor.startCyanSink(), ImageProcessor.stopCyanSink(), VideoStreamController.step(), ColoredShapesTracker.setCyan(boolean), ColoredShapesTracker.close()

getSinkCyan

public boolean getSinkCyan()
Returns the value (True or Fulse) of recording condition (start or stop) for Cyan color

Returns:
True or Fulse Value (start or stop) of recording condition for Cyan color
See Also:
setSinkCyan(boolean), ImageProcessor.processImage(), ImageProcessor.startCyanSink(), ImageProcessor.stopCyanSink(), VideoStreamController.step(), ColoredShapesTracker.setCyan(boolean), ColoredShapesTracker.close()

setSinkBlue

public void setSinkBlue(boolean sink)
Set the value sinkBlue true or fulse, starting or stoping the recording condition for Blue color

Parameters:
sink - true or fulse value to start or stop the recording for Blue color
See Also:
getSinkBlue(), ImageProcessor.processImage(), ImageProcessor.startBlueSink(), ImageProcessor.stopBlueSink(), VideoStreamController.step(), ColoredShapesTracker.setBlue(boolean), ColoredShapesTracker.close()

getSinkBlue

public boolean getSinkBlue()
Returns the value (True or Fulse) of recording condition (start or stop) for Blue color

Returns:
True or Fulse Value (start or stop) of recording condition for Blue color
See Also:
setSinkBlue(boolean), ImageProcessor.processImage(), ImageProcessor.startBlueSink(), ImageProcessor.stopBlueSink(), VideoStreamController.step(), ColoredShapesTracker.setBlue(boolean), ColoredShapesTracker.close()

setSinkMagenta

public void setSinkMagenta(boolean sink)
Set the value sinkMagenta true or fulse, starting or stoping the recording condition for Magenta color

Parameters:
sink - true or fulse value to start or stop the recording for Magenta color
See Also:
getSinkMagenta(), ImageProcessor.processImage(), ImageProcessor.startMagentaSink(), ImageProcessor.stopMagentaSink(), VideoStreamController.step(), ColoredShapesTracker.setMagenta(boolean), ColoredShapesTracker.close()

getSinkMagenta

public boolean getSinkMagenta()
Returns the value (True or Fulse) of recording condition (start or stop) for Magenta color

Returns:
True or Fulse Value (start or stop) of recording condition for Magenta color
See Also:
setSinkMagenta(boolean), ImageProcessor.processImage(), ImageProcessor.startMagentaSink(), ImageProcessor.stopMagentaSink(), VideoStreamController.step(), ColoredShapesTracker.setMagenta(boolean), ColoredShapesTracker.close()

setSinkPink

public void setSinkPink(boolean sink)
Set the value sinkPink true or fulse, starting or stoping the recording condition for Pink color

Parameters:
sink - true or fulse value to start or stop the recording for Pink color
See Also:
getSinkPink(), ImageProcessor.processImage(), ImageProcessor.startPinkSink(), ImageProcessor.stopPinkSink(), VideoStreamController.step(), ColoredShapesTracker.setPink(boolean), ColoredShapesTracker.close()

getSinkPink

public boolean getSinkPink()
Returns the value (True or Fulse) of recording condition (start or stop) for Pink color

Returns:
True or Fulse Value (start or stop) of recording condition for Pink color
See Also:
setSinkPink(boolean), ImageProcessor.processImage(), ImageProcessor.startPinkSink(), ImageProcessor.stopPinkSink(), VideoStreamController.step(), ColoredShapesTracker.setPink(boolean), ColoredShapesTracker.close()

setSinkWhite

public void setSinkWhite(boolean sink)
Set the value sinkWhite true or fulse, starting or stoping the recording condition for White color

Parameters:
sink - true or fulse value to start or stop the recording for White color
See Also:
getSinkWhite(), ImageProcessor.processImage(), ImageProcessor.startWhiteSink(), ImageProcessor.stopWhiteSink(), VideoStreamController.step(), ColoredShapesTracker.setWhite(boolean), ColoredShapesTracker.close()

getSinkWhite

public boolean getSinkWhite()
Returns the value (True or Fulse) of recording condition (start or stop) for White color

Returns:
True or Fulse Value (start or stop) of recording condition for White color
See Also:
setSinkWhite(boolean), ImageProcessor.processImage(), ImageProcessor.startWhiteSink(), ImageProcessor.stopWhiteSink(), VideoStreamController.step(), ColoredShapesTracker.setWhite(boolean), ColoredShapesTracker.close()

setSinkBlack

public void setSinkBlack(boolean sink)
Set the value sinkBlack true or fulse, starting or stoping the recording condition for Black color

Parameters:
sink - true or fulse value to start or stop the recording for Black color
See Also:
getSinkBlack(), ImageProcessor.processImage(), ImageProcessor.startBlackSink(), ImageProcessor.stopBlackSink(), VideoStreamController.step(), ColoredShapesTracker.setBlack(boolean), ColoredShapesTracker.close()

getSinkBlack

public boolean getSinkBlack()
Returns the value (True or Fulse) of recording condition (start or stop) for Black color

Returns:
True or Fulse Value (start or stop) of recording condition for Black color
See Also:
setSinkBlack(boolean), ImageProcessor.processImage(), ImageProcessor.startBlackSink(), ImageProcessor.stopBlackSink(), VideoStreamController.step(), ColoredShapesTracker.setBlack(boolean), ColoredShapesTracker.close()

setSinkGray

public void setSinkGray(boolean sink)
Set the value sinkGray true or fulse, starting or stoping the recording condition for Gray color

Parameters:
sink - true or fulse value to start or stop the recording for Gray color
See Also:
getSinkGray(), ImageProcessor.processImage(), ImageProcessor.startGraySink(), ImageProcessor.stopGraySink(), VideoStreamController.step(), ColoredShapesTracker.setGray(boolean), ColoredShapesTracker.close()

getSinkGray

public boolean getSinkGray()
Returns the value (True or Fulse) of recording condition (start or stop) for Gray color

Returns:
True or Fulse Value (start or stop) of recording condition for Gray color
See Also:
setSinkGray(boolean), ImageProcessor.processImage(), ImageProcessor.startGraySink(), ImageProcessor.stopGraySink(), VideoStreamController.step(), ColoredShapesTracker.setGray(boolean), ColoredShapesTracker.close()