public class ProjectiveTransformer.Parameters extends Object implements ImageTransformer.Parameters
Modifier and Type | Field and Description |
---|---|
protected boolean |
fakeIdentity |
protected double[] |
projectiveParameters |
Modifier | Constructor and Description |
---|---|
protected |
Parameters() |
Modifier and Type | Method and Description |
---|---|
ProjectiveTransformer.Parameters |
clone() |
void |
compose(CvMat H1,
boolean inverse1,
CvMat H2,
boolean inverse2) |
void |
compose(ImageTransformer.Parameters p1,
boolean inverse1,
ImageTransformer.Parameters p2,
boolean inverse2) |
double[] |
get() |
double |
get(int i) |
double |
getConstraintError() |
CvMat |
getH() |
CvMat |
getN() |
CvMat |
getR() |
double[] |
getSubspace() |
CvMat |
getT() |
boolean |
isUpdateNeeded() |
boolean |
preoptimize() |
void |
reset(boolean asIdentity) |
void |
set(CvMat setH,
boolean inverse) |
void |
set(double... p) |
void |
set(ImageTransformer.Parameters p) |
void |
set(int i,
double p) |
void |
setSubspace(double... p) |
void |
setUpdateNeeded(boolean updateNeeded) |
int |
size() |
String |
toString() |
protected void |
update() |
protected double[] projectiveParameters
protected boolean fakeIdentity
public boolean isUpdateNeeded()
public void setUpdateNeeded(boolean updateNeeded)
public int size()
size
in interface ImageTransformer.Parameters
public double[] get()
get
in interface ImageTransformer.Parameters
public double get(int i)
get
in interface ImageTransformer.Parameters
public void set(double... p)
set
in interface ImageTransformer.Parameters
public void set(int i, double p)
set
in interface ImageTransformer.Parameters
public void set(ImageTransformer.Parameters p)
set
in interface ImageTransformer.Parameters
public void reset(boolean asIdentity)
reset
in interface ImageTransformer.Parameters
public double getConstraintError()
getConstraintError
in interface ImageTransformer.Parameters
public void set(CvMat setH, boolean inverse)
public void compose(ImageTransformer.Parameters p1, boolean inverse1, ImageTransformer.Parameters p2, boolean inverse2)
compose
in interface ImageTransformer.Parameters
public CvMat getH()
public CvMat getN()
public CvMat getR()
public CvMat getT()
protected void update()
public boolean preoptimize()
preoptimize
in interface ImageTransformer.Parameters
public double[] getSubspace()
getSubspace
in interface ImageTransformer.Parameters
public void setSubspace(double... p)
setSubspace
in interface ImageTransformer.Parameters
public ProjectiveTransformer.Parameters clone()
clone
in interface ImageTransformer.Parameters
clone
in class Object
Copyright © 2024. All rights reserved.