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

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent.Cfg
      extended by sk.robotics.rlcs.agents.image.ImageFilterAgent.Cfg
Direct Known Subclasses:
ConvolutionAgent.Cfg, GrayScaleAgent.Cfg, InvertAgent.Cfg, SobelAgent.Cfg, TransformAgent.Cfg, TresholdAgent.Cfg, ViewPosAgent.Cfg
Enclosing class:
ImageFilterAgent

public static class ImageFilterAgent.Cfg
extends Agent.Cfg


Nested Class Summary
static class 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
 java.lang.String blockSourceImage
          Name of block with the source image to draw to.
 java.lang.String blockTargetImage
          Name of block where to store processed image.
 java.lang.Boolean copyBeforeFilter
          Blit source to target before filter()?.
 ImageFilterAgent.Cfg.ImageType inputImageType
          Type of input image.
 java.lang.Integer outputHeight
          Height of output image.
 ImageFilterAgent.Cfg.ImageType outputImageType
          Type of output image.
 java.lang.Integer outputWidth
          Width of output image.
 java.lang.Float priority
          Priority of writing into target block.
 java.lang.Long validity
          Validity of writing into target block.
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
enabled, id, logLevel, timerPeriodMs, triggers
 
Constructor Summary
ImageFilterAgent.Cfg()
           
 
Method Summary
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
createAgent, equals, getHiddenFields, hideFields, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockSourceImage

public java.lang.String blockSourceImage
Name of block with the source image to draw to.

Block access:
read
Stored type:
java.awt.BufferedImage

blockTargetImage

public java.lang.String blockTargetImage
Name of block where to store processed image.

Block access:
write
Stored type:
java.awt.image.BufferedImage

priority

public java.lang.Float priority
Priority of writing into target block. Not set means copy priority of input block.


validity

public java.lang.Long validity
Validity of writing into target block. Not set means copy validity of input block.


inputImageType

public ImageFilterAgent.Cfg.ImageType inputImageType
Type of input image. If set, and the input image does not match it, the agent does not process it. Possible values are GRAY (gray scale), BW (black and white), RGB (3-bands), RGBA (4-bands).


outputImageType

public ImageFilterAgent.Cfg.ImageType outputImageType
Type of output image. Allowed values are RGB (24-bit), RGBA (32-bit), GRAY (gray scale), BW (black and white). Not set means same as input.


outputWidth

public java.lang.Integer outputWidth
Width of output image. Not set means same as input.


outputHeight

public java.lang.Integer outputHeight
Height of output image. Not set means same as output.


copyBeforeFilter

public java.lang.Boolean copyBeforeFilter
Blit source to target before filter()?. Set to true for filters which copy the image, and draw something over it. Or to use ImageFilterAgent directly as image type converter.

Constructor Detail

ImageFilterAgent.Cfg

public ImageFilterAgent.Cfg()