public class NonLinearTransform extends NonLinearCoordinateTransform
Constructor and Description |
---|
NonLinearTransform() |
NonLinearTransform(double[][] b,
double[] nm,
double[] nv,
int d,
int w,
int h) |
NonLinearTransform(double[][] coeffMatrix,
int w,
int h) |
NonLinearTransform(int d,
int w,
int h) |
NonLinearTransform(String filename) |
Modifier and Type | Method and Description |
---|---|
NonLinearTransform |
copy()
TODO Make this more efficient
|
static void |
drawGrid(GeneralPath g,
double[][] points,
int count,
int s) |
static void |
drawQuiverField(GeneralPath qf,
double x1,
double y1,
double x2,
double y2) |
void |
estimateDistortion(double[][] hack1,
double[][] hack2,
double[][] transformParams,
double lambda,
int w,
int h) |
void |
fit(double[][] x,
double[][] y,
double lambda) |
double[][] |
getCoefficients() |
int |
getDimension() |
int |
getHeight() |
int |
getMinNumMatches() |
int |
getWidth() |
void |
inverseTransform(double[][] range) |
double[][] |
kernelExpandMatrix(double[][] positions) |
double[][] |
kernelExpandMatrixNormalize(double[][] positions) |
void |
load(String filename) |
void |
print() |
void |
save(String filename) |
void |
set(NonLinearTransform nlt) |
void |
setBeta(double[][] b) |
void |
setDimension(int dimension)
Deletes all dimension dependent properties
|
ij.process.ImageProcessor[] |
transform(ij.process.ImageProcessor ip) |
void |
visualize() |
void |
visualizeSmall(double lambda) |
apply, applyInPlace, init, kernelExpand, multiply, toDataString, toString, toXML
public NonLinearTransform(double[][] b, double[] nm, double[] nv, int d, int w, int h)
public NonLinearTransform(int d, int w, int h)
public NonLinearTransform()
public NonLinearTransform(String filename)
public NonLinearTransform(double[][] coeffMatrix, int w, int h)
public int getDimension()
public void setDimension(int dimension)
public int getMinNumMatches()
public void fit(double[][] x, double[][] y, double lambda)
public void estimateDistortion(double[][] hack1, double[][] hack2, double[][] transformParams, double lambda, int w, int h)
public double[][] getCoefficients()
public void setBeta(double[][] b)
public void print()
public void save(String filename)
public void load(String filename)
public ij.process.ImageProcessor[] transform(ij.process.ImageProcessor ip)
public double[][] kernelExpandMatrixNormalize(double[][] positions)
public double[][] kernelExpandMatrix(double[][] positions)
public void inverseTransform(double[][] range)
public void visualize()
public void visualizeSmall(double lambda)
public static void drawGrid(GeneralPath g, double[][] points, int count, int s)
public static void drawQuiverField(GeneralPath qf, double x1, double y1, double x2, double y2)
public int getWidth()
public int getHeight()
public final NonLinearTransform copy()
copy
in class NonLinearCoordinateTransform
public void set(NonLinearTransform nlt)
Copyright © 2015–2021 Fiji. All rights reserved.