public class ProjectiveColorTransformer extends ProjectiveTransformer
Modifier and Type | Class and Description |
---|---|
class |
ProjectiveColorTransformer.Parameters |
ImageTransformer.Data
Modifier and Type | Field and Description |
---|---|
protected int |
numBiases |
protected int |
numGains |
protected static ThreadLocal<CvMat> |
temp3x1 |
protected CvMat |
X |
protected CvMat[] |
X2 |
protected static ThreadLocal<CvMat> |
X24x4 |
fillColor, H, H3x3, invK1, invK2, K1, K2, kernelData, n, pts4x1, R, referencePoints1, referencePoints2, t
Constructor and Description |
---|
ProjectiveColorTransformer(CvMat K1,
CvMat K2,
CvMat R,
CvMat t,
CvMat n,
double[] referencePoints1,
double[] referencePoints2,
CvMat X,
int numGains,
int numBiases) |
Modifier and Type | Method and Description |
---|---|
ProjectiveColorTransformer.Parameters |
createParameters() |
int |
getNumBiases() |
int |
getNumGains() |
CvMat |
getX() |
protected void |
prepareColorTransform(CvMat X2,
int pyramidLevel,
ProjectiveColorTransformer.Parameters p,
boolean inverse) |
void |
transform(ImageTransformer.Data[] data,
CvRect roi,
ImageTransformer.Parameters[] parameters,
boolean[] inverses) |
void |
transformColor(IplImage srcImage,
IplImage dstImage,
CvRect roi,
int pyramidLevel,
ImageTransformer.Parameters parameters,
boolean inverse) |
getFillColor, getInvK1, getInvK2, getK1, getK2, getN, getR, getReferencePoints1, getReferencePoints2, getT, prepareHomography, setFillColor, transform, transform
protected static ThreadLocal<CvMat> X24x4
protected static ThreadLocal<CvMat> temp3x1
protected CvMat X
protected int numGains
protected int numBiases
protected CvMat[] X2
public CvMat getX()
public int getNumGains()
public int getNumBiases()
public void transformColor(IplImage srcImage, IplImage dstImage, CvRect roi, int pyramidLevel, ImageTransformer.Parameters parameters, boolean inverse)
protected void prepareColorTransform(CvMat X2, int pyramidLevel, ProjectiveColorTransformer.Parameters p, boolean inverse)
public void transform(ImageTransformer.Data[] data, CvRect roi, ImageTransformer.Parameters[] parameters, boolean[] inverses)
transform
in interface ImageTransformer
transform
in class ProjectiveTransformer
public ProjectiveColorTransformer.Parameters createParameters()
createParameters
in interface ImageTransformer
createParameters
in class ProjectiveTransformer
Copyright © 2024. All rights reserved.