Class ConfigSpatial

java.lang.Object
deepboof.forward.ConfigSpatial
All Implemented Interfaces:
Configuration, Serializable
Direct Known Subclasses:
ConfigConvolve2D

public class ConfigSpatial
extends Object
implements Configuration
Common configuration for many spatial functions
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    int HH
    Window height
    int periodX
    Sample period.
    int periodY
    Sample period.
    int WW
    Window width
  • Constructor Summary

    Constructors
    Constructor Description
    ConfigSpatial()  
  • Method Summary

    Modifier and Type Method Description
    void checkValidity()
    Checks to see if the configuration is valid.
    int getPeriodX()
    The period at which the kernel samples the input image along the x-axis
    int getPeriodY()
    The period at which the kernel samples the input image along the y-axis

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • periodX

      public int periodX
      Sample period. One is default.
    • periodY

      public int periodY
      Sample period. One is default.
    • WW

      public int WW
      Window width
    • HH

      public int HH
      Window height
  • Constructor Details

    • ConfigSpatial

      public ConfigSpatial()
  • Method Details

    • checkValidity

      public void checkValidity()
      Description copied from interface: Configuration
      Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
      Specified by:
      checkValidity in interface Configuration
    • getPeriodX

      public int getPeriodX()
      The period at which the kernel samples the input image along the x-axis
      Returns:
      sample period along x-axis in pixels
    • getPeriodY

      public int getPeriodY()
      The period at which the kernel samples the input image along the y-axis
      Returns:
      sample period along y-axis in pixels