Package deepboof.forward
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
-
Constructor Summary
Constructors Constructor Description ConfigSpatial() -
Method Summary
Modifier and Type Method Description voidcheckValidity()Checks to see if the configuration is valid.intgetPeriodX()The period at which the kernel samples the input image along the x-axisintgetPeriodY()The period at which the kernel samples the input image along the y-axis
-
Field Details
-
periodX
public int periodXSample period. One is default. -
periodY
public int periodYSample period. One is default. -
WW
public int WWWindow width -
HH
public int HHWindow height
-
-
Constructor Details
-
ConfigSpatial
public ConfigSpatial()
-
-
Method Details
-
checkValidity
public void checkValidity()Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
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
-