public static class opencv_calib3d.LMSolver.Callback extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Callback(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute(opencv_core.GpuMat param,
opencv_core.GpuMat err,
opencv_core.GpuMat J) |
boolean |
compute(opencv_core.Mat param,
opencv_core.Mat err,
opencv_core.Mat J)
computes error and Jacobian for the specified vector of parameters
|
boolean |
compute(opencv_core.UMat param,
opencv_core.UMat err,
opencv_core.UMat J) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Callback(Pointer p)
Pointer.Pointer(Pointer).@Cast(value="bool") public boolean compute(@ByVal opencv_core.Mat param, @ByVal opencv_core.Mat err, @ByVal opencv_core.Mat J)
param - the current vector of parameterserr - output vector of errors: err_i = actual_f_i - ideal_f_iJ - output Jacobian: J_ij = d(err_i)/d(param_j)
when J=noArray(), it means that it does not need to be computed. Dimensionality of error vector and param vector can be different. The callback should explicitly allocate (with "create" method) each output array (unless it's noArray()).
@Cast(value="bool") public boolean compute(@ByVal opencv_core.UMat param, @ByVal opencv_core.UMat err, @ByVal opencv_core.UMat J)
@Cast(value="bool") public boolean compute(@ByVal opencv_core.GpuMat param, @ByVal opencv_core.GpuMat err, @ByVal opencv_core.GpuMat J)
Copyright © 2019. All rights reserved.