public class ProjectiveTransformerCL extends ProjectiveTransformer implements ImageTransformerCL
ProjectiveTransformer.Parameters
ImageTransformerCL.InputData, ImageTransformerCL.OutputData
ImageTransformer.Data, ImageTransformer.Parameters
Modifier and Type | Field and Description |
---|---|
protected JavaCVCL |
context |
protected CLBuffer<FloatBuffer> |
HBuffer |
fillColor, H, H3x3, invK1, invK2, K1, K2, kernelData, n, pts4x1, R, referencePoints1, referencePoints2, t
Constructor and Description |
---|
ProjectiveTransformerCL(JavaCVCL context) |
ProjectiveTransformerCL(JavaCVCL context,
CvMat K1,
CvMat K2,
CvMat R,
CvMat t,
CvMat n,
double[] referencePoints1,
double[] referencePoints2) |
ProjectiveTransformerCL(JavaCVCL context,
double[] referencePoints) |
ProjectiveTransformerCL(JavaCVCL context,
ProjectiveDevice d1,
ProjectiveDevice d2,
CvMat n,
double[] referencePoints1,
double[] referencePoints2) |
Modifier and Type | Method and Description |
---|---|
JavaCVCL |
getContext() |
protected void |
prepareHomographies(CLBuffer HBuffer,
int pyramidLevel,
ImageTransformer.Parameters[] parameters,
boolean[] inverses) |
void |
transform(CLImage2d srcImg,
CLImage2d subImg,
CLImage2d srcDotImg,
CLImage2d transImg,
CLImage2d dstImg,
CLImage2d maskImg,
ImageTransformer.Parameters[] parameters,
boolean[] inverses,
ImageTransformerCL.InputData inputData,
ImageTransformerCL.OutputData outputData) |
createParameters, getFillColor, getInvK1, getInvK2, getK1, getK2, getN, getR, getReferencePoints1, getReferencePoints2, getT, prepareHomography, setFillColor, transform, transform, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createParameters, transform, transform
protected final JavaCVCL context
protected final CLBuffer<FloatBuffer> HBuffer
public ProjectiveTransformerCL(JavaCVCL context)
public ProjectiveTransformerCL(JavaCVCL context, double[] referencePoints)
public ProjectiveTransformerCL(JavaCVCL context, ProjectiveDevice d1, ProjectiveDevice d2, CvMat n, double[] referencePoints1, double[] referencePoints2)
public JavaCVCL getContext()
getContext
in interface ImageTransformerCL
protected void prepareHomographies(CLBuffer HBuffer, int pyramidLevel, ImageTransformer.Parameters[] parameters, boolean[] inverses)
public void transform(CLImage2d srcImg, CLImage2d subImg, CLImage2d srcDotImg, CLImage2d transImg, CLImage2d dstImg, CLImage2d maskImg, ImageTransformer.Parameters[] parameters, boolean[] inverses, ImageTransformerCL.InputData inputData, ImageTransformerCL.OutputData outputData)
transform
in interface ImageTransformerCL
Copyright © 2024. All rights reserved.