sk.robotics.rlcs.agents.image
Class SobelAgent.Cfg

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent.Cfg
      extended by sk.robotics.rlcs.agents.image.ImageFilterAgent.Cfg
          extended by sk.robotics.rlcs.agents.image.SobelAgent.Cfg
Enclosing class:
SobelAgent

public static class SobelAgent.Cfg
extends ImageFilterAgent.Cfg


Nested Class Summary
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agents.image.ImageFilterAgent.Cfg
ImageFilterAgent.Cfg.ImageType
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
Agent.Cfg.Limited, Agent.Cfg.NoDefault, Agent.Cfg.Required, Agent.Cfg.Validator
 
Field Summary
 boolean horizontal
          Perform horizontal Sobel.
 boolean vertical
          Perform vertical Sobel.
 
Fields inherited from class sk.robotics.rlcs.agents.image.ImageFilterAgent.Cfg
blockSourceImage, blockTargetImage, copyBeforeFilter, inputImageType, outputHeight, outputImageType, outputWidth, priority, validity
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
enabled, id, logLevel, timerPeriodMs, triggers
 
Constructor Summary
SobelAgent.Cfg()
           
 
Method Summary
 void validate()
          Config validation.
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
createAgent, equals, getHiddenFields, hideFields
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

horizontal

public boolean horizontal
Perform horizontal Sobel.


vertical

public boolean vertical
Perform vertical Sobel.

Constructor Detail

SobelAgent.Cfg

public SobelAgent.Cfg()
Method Detail

validate

public void validate()
Description copied from class: Agent.Cfg
Config validation. This base versions checks that fields declared as required (through the Required annotation) are filled. Derived agent config classes may override this to provide custom validation function for user defined configuration. It can be as well used for setting default values for uninitialized fields, or any other processing. To veto launching the agent, it can throw an exception.

Overrides:
validate in class Agent.Cfg