public class GNImageAlignerCL extends GNImageAligner implements ImageAlignerCL
GNImageAligner.Settings
ImageAligner.Settings
constraintGrad, dstRoiPts, dstRoiPtsArray, gradient, hessian, hessianGradientTransformerData, images, lastLinePosition, mask, n, parameters, parametersArray, prior, priorParameters, pyramidLevel, residual, residualTransformerData, residualUpdateNeeded, RMSE, roi, settings, srcRoiPts, subspaceCorrelated, subspaceJacobian, subspaceParameters, subspaceResidual, target, template, tempParameters, temproi, tempSubspaceParameters, transformed, transformer, trials, update, updateScale
Constructor and Description |
---|
GNImageAlignerCL(ImageTransformerCL transformer,
ImageTransformer.Parameters initialParameters,
CLImage2d template0,
double[] roiPts,
CLImage2d target0) |
GNImageAlignerCL(ImageTransformerCL transformer,
ImageTransformer.Parameters initialParameters,
CLImage2d template0,
double[] roiPts,
CLImage2d target0,
GNImageAligner.Settings settings) |
doRegularization, getLastLinePosition, getParameters, getPriorParameters, getPyramidLevel, getSettings, getTransformedRoiPts, isConstrained, iterate, setConstrained, setParameters, setPriorParameters, setPyramidLevel, setSettings
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameters, getPyramidLevel, getSettings, getTransformedRoiPts, iterate, setParameters, setPyramidLevel, setSettings
public GNImageAlignerCL(ImageTransformerCL transformer, ImageTransformer.Parameters initialParameters, CLImage2d template0, double[] roiPts, CLImage2d target0)
public GNImageAlignerCL(ImageTransformerCL transformer, ImageTransformer.Parameters initialParameters, CLImage2d template0, double[] roiPts, CLImage2d target0, GNImageAligner.Settings settings)
public void release()
protected void finalize() throws Throwable
public IplImage getTemplateImage()
getTemplateImage
in interface ImageAligner
getTemplateImage
in class GNImageAligner
public IplImage getTemplateImage(boolean blocking)
public void setTemplateImage(IplImage template0, double[] roiPts)
setTemplateImage
in interface ImageAligner
setTemplateImage
in class GNImageAligner
public IplImage getTargetImage()
getTargetImage
in interface ImageAligner
getTargetImage
in class GNImageAligner
public IplImage getTargetImage(boolean blocking)
public void setTargetImage(IplImage target0)
setTargetImage
in interface ImageAligner
setTargetImage
in class GNImageAligner
public IplImage getTransformedImage()
getTransformedImage
in interface ImageAligner
getTransformedImage
in class GNImageAligner
public IplImage getTransformedImage(boolean blocking)
public IplImage getResidualImage()
getResidualImage
in interface ImageAligner
getResidualImage
in class GNImageAligner
public IplImage getResidualImage(boolean blocking)
public IplImage getMaskImage()
getMaskImage
in interface ImageAligner
getMaskImage
in class GNImageAligner
public IplImage getMaskImage(boolean blocking)
public double getRMSE()
getRMSE
in interface ImageAligner
getRMSE
in class GNImageAligner
public int getPixelCount()
getPixelCount
in class GNImageAligner
public int getOutlierCount()
getOutlierCount
in class GNImageAligner
public CvRect getRoi()
getRoi
in interface ImageAligner
getRoi
in class GNImageAligner
public IplImage[] getImages()
getImages
in interface ImageAligner
getImages
in class GNImageAligner
public IplImage[] getImages(boolean blocking)
public CLImage2d getTemplateImageCL()
getTemplateImageCL
in interface ImageAlignerCL
public void setTemplateImageCL(CLImage2d template0, double[] roiPts)
setTemplateImageCL
in interface ImageAlignerCL
public CLImage2d getTargetImageCL()
getTargetImageCL
in interface ImageAlignerCL
public void setTargetImageCL(CLImage2d target0)
setTargetImageCL
in interface ImageAlignerCL
public CLImage2d getTransformedImageCL()
getTransformedImageCL
in interface ImageAlignerCL
public CLImage2d getResidualImageCL()
getResidualImageCL
in interface ImageAlignerCL
public CLImage2d getMaskImageCL()
getMaskImageCL
in interface ImageAlignerCL
public CLImage2d[] getImagesCL()
getImagesCL
in interface ImageAlignerCL
protected void doHessianGradient(double[] scale)
doHessianGradient
in class GNImageAligner
protected void doRoi()
doRoi
in class GNImageAligner
protected void doResidual()
doResidual
in class GNImageAligner
Copyright © 2024. All rights reserved.