com.presencedetection.algos
Class ColorDetectionAlgo

public class ColorDetectionAlgo
implements PDAlgoIntf
Method Detail

getIRB

private BufferedImage[] getIRB(BufferedImage image)
Get the IHS image I = (logopp(red)+logopp(blue)+logopp(green))/3; Rg = logopp(red)-I; By = logopp(blue)-(I+logopp(red))/2;

analyze

public PDResults analyze(BufferedImage image)
analyze
Parameters:
image - BufferedImage
Returns:
PDResults

isRunning

public boolean isRunning()
isRunning
Returns:
boolean

start

public boolean start()
start
Returns:
boolean