Package skyview.geometry.distorter
Class Neat
java.lang.Object
skyview.geometry.Transformer
skyview.geometry.Distorter
skyview.geometry.distorter.Neat
- All Implemented Interfaces:
Serializable
,Component
This class implements the NEAT radial distortion.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhat does this object do?getName()
A name for this objectinverse()
Get the inverse of the transformation.boolean
isInverse
(Transformer test) Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.void
transform
(double[] in, double[] out) Convert a single point where the output vector is supplied.Methods inherited from class skyview.geometry.Distorter
applyBeforeScaling, getInputDimension, getOutputDimension, jacobian
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
Constructor Details
-
Neat
public Neat(double scale, double x0, double y0)
-
-
Method Details
-
getName
Description copied from class:Distorter
A name for this object -
getDescription
Description copied from class:Distorter
What does this object do?- Specified by:
getDescription
in interfaceComponent
- Specified by:
getDescription
in classDistorter
-
inverse
Description copied from class:Transformer
Get the inverse of the transformation. If the order matters, then the inverse is to be applied after the original transformation. This is primarily an issue with Converters. -
isInverse
Description copied from class:Transformer
Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.- Specified by:
isInverse
in classTransformer
-
transform
public void transform(double[] in, double[] out) Description copied from class:Transformer
Convert a single point where the output vector is supplied.- Specified by:
transform
in classTransformer
- Parameters:
in
- The input vector.out
- The output vector, it may be the same as the input vector if the dimensionalities are the same. All transformers are expected to work with aliased inputs and output.
-