devs.visionpackage.org.cmotch.visionlibrary
Class ColorDetection

java.lang.Object
  extended by devs.visionpackage.org.cmotch.visionlibrary.ColorDetection

public class ColorDetection
extends java.lang.Object

Color detection class


Constructor Summary
ColorDetection()
           
 
Method Summary
static java.awt.image.BufferedImage colorProcessImage(java.awt.image.BufferedImage img)
          Perform color detection on the input image returning a new image with the colored object highlited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorDetection

public ColorDetection()
Method Detail

colorProcessImage

public static java.awt.image.BufferedImage colorProcessImage(java.awt.image.BufferedImage img)
                                                      throws java.lang.Exception
Perform color detection on the input image returning a new image with the colored object highlited

Parameters:
img - BufferedImage input image from camera
Returns:
BufferedImage return image with objects highlited in their respective color
Throws:
java.lang.Exception