public class ProCamTransformerCL extends ProCamTransformer implements ImageTransformerCL
ProCamTransformer.Parameters
ImageTransformerCL.InputData, ImageTransformerCL.OutputData
ImageTransformer.Data, ImageTransformer.Parameters
Modifier and Type | Field and Description |
---|---|
protected JavaCVCL |
context |
protected CLBuffer<FloatBuffer> |
H1Buffer |
protected CLBuffer<FloatBuffer> |
H2Buffer |
protected int |
nullSize |
protected CLImage2d[] |
projectorImageCL |
protected CLImage2d[] |
surfaceImageCL |
protected CLBuffer<FloatBuffer> |
XBuffer |
camera, fillColor, frontoParallelH, H1, H2, invCameraMatrix, invFrontoParallelH, kernelData, projector, projectorImage, projectorTransformer, roi, surfaceImage, surfaceTransformer, X
Constructor and Description |
---|
ProCamTransformerCL(JavaCVCL context,
double[] referencePoints,
CameraDevice camera,
ProjectorDevice projector) |
ProCamTransformerCL(JavaCVCL context,
double[] referencePoints,
CameraDevice camera,
ProjectorDevice projector,
CvMat n) |
Modifier and Type | Method and Description |
---|---|
JavaCVCL |
getContext() |
CLImage2d |
getProjectorImageCL(int pyramidLevel) |
ProjectiveColorTransformerCL |
getProjectorTransformerCL() |
CLImage2d |
getSurfaceImageCL(int pyramidLevel) |
ProjectiveColorTransformerCL |
getSurfaceTransformerCL() |
protected void |
prepareTransforms(CLBuffer H1Buffer,
CLBuffer H2Buffer,
CLBuffer XBuffer,
int pyramidLevel,
ImageTransformer.Parameters[] parameters) |
void |
setProjectorImageCL(CLImage2d projectorImage0,
int minPyramidLevel,
int maxPyramidLevel) |
void |
setSurfaceImageCL(CLImage2d surfaceImage0,
int pyramidLevels) |
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, getNumBiases, getNumGains, getProjectorImage, getProjectorTransformer, getSurfaceImage, getSurfaceTransformer, prepareTransforms, setFillColor, setProjectorImage, setProjectorImage, setSurfaceImage, transform, transform, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createParameters, transform, transform
protected final JavaCVCL context
protected final int nullSize
protected final CLBuffer<FloatBuffer> H1Buffer
protected final CLBuffer<FloatBuffer> H2Buffer
protected final CLBuffer<FloatBuffer> XBuffer
protected CLImage2d[] projectorImageCL
protected CLImage2d[] surfaceImageCL
public ProCamTransformerCL(JavaCVCL context, double[] referencePoints, CameraDevice camera, ProjectorDevice projector)
public ProCamTransformerCL(JavaCVCL context, double[] referencePoints, CameraDevice camera, ProjectorDevice projector, CvMat n)
public JavaCVCL getContext()
getContext
in interface ImageTransformerCL
public ProjectiveColorTransformerCL getSurfaceTransformerCL()
public ProjectiveColorTransformerCL getProjectorTransformerCL()
public CLImage2d getProjectorImageCL(int pyramidLevel)
public void setProjectorImageCL(CLImage2d projectorImage0, int minPyramidLevel, int maxPyramidLevel)
public CLImage2d getSurfaceImageCL(int pyramidLevel)
public void setSurfaceImageCL(CLImage2d surfaceImage0, int pyramidLevels)
protected void prepareTransforms(CLBuffer H1Buffer, CLBuffer H2Buffer, CLBuffer XBuffer, int pyramidLevel, ImageTransformer.Parameters[] parameters)
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.