@Namespace(value="cv::aruco") @NoOffset @Properties(inherit=opencv_objdetect.class) public class CharucoDetector extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CharucoDetector(Algorithm pointer)
Downcast constructor.
|
CharucoDetector(CharucoBoard board) |
CharucoDetector(CharucoBoard board,
CharucoParameters charucoParams,
DetectorParameters detectorParams,
RefineParameters refineParams)
\brief Basic CharucoDetector constructor
|
CharucoDetector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(CharucoDetector pointer) |
void |
detectBoard(GpuMat image,
GpuMat charucoCorners,
GpuMat charucoIds) |
void |
detectBoard(GpuMat image,
GpuMat charucoCorners,
GpuMat charucoIds,
GpuMatVector markerCorners,
GpuMat markerIds) |
void |
detectBoard(GpuMat image,
GpuMat charucoCorners,
GpuMat charucoIds,
MatVector markerCorners,
GpuMat markerIds) |
void |
detectBoard(GpuMat image,
GpuMat charucoCorners,
GpuMat charucoIds,
UMatVector markerCorners,
GpuMat markerIds) |
void |
detectBoard(Mat image,
Mat charucoCorners,
Mat charucoIds) |
void |
detectBoard(Mat image,
Mat charucoCorners,
Mat charucoIds,
GpuMatVector markerCorners,
Mat markerIds) |
void |
detectBoard(Mat image,
Mat charucoCorners,
Mat charucoIds,
MatVector markerCorners,
Mat markerIds)
\brief detect aruco markers and interpolate position of ChArUco board corners
|
void |
detectBoard(Mat image,
Mat charucoCorners,
Mat charucoIds,
UMatVector markerCorners,
Mat markerIds) |
void |
detectBoard(UMat image,
UMat charucoCorners,
UMat charucoIds) |
void |
detectBoard(UMat image,
UMat charucoCorners,
UMat charucoIds,
GpuMatVector markerCorners,
UMat markerIds) |
void |
detectBoard(UMat image,
UMat charucoCorners,
UMat charucoIds,
MatVector markerCorners,
UMat markerIds) |
void |
detectBoard(UMat image,
UMat charucoCorners,
UMat charucoIds,
UMatVector markerCorners,
UMat markerIds) |
void |
detectDiamonds(GpuMat image,
GpuMatVector diamondCorners,
GpuMat diamondIds) |
void |
detectDiamonds(GpuMat image,
GpuMatVector diamondCorners,
GpuMat diamondIds,
GpuMatVector markerCorners,
GpuMat markerIds) |
void |
detectDiamonds(GpuMat image,
MatVector diamondCorners,
GpuMat diamondIds) |
void |
detectDiamonds(GpuMat image,
MatVector diamondCorners,
GpuMat diamondIds,
MatVector markerCorners,
GpuMat markerIds) |
void |
detectDiamonds(GpuMat image,
UMatVector diamondCorners,
GpuMat diamondIds) |
void |
detectDiamonds(GpuMat image,
UMatVector diamondCorners,
GpuMat diamondIds,
UMatVector markerCorners,
GpuMat markerIds) |
void |
detectDiamonds(Mat image,
GpuMatVector diamondCorners,
Mat diamondIds) |
void |
detectDiamonds(Mat image,
GpuMatVector diamondCorners,
Mat diamondIds,
GpuMatVector markerCorners,
Mat markerIds) |
void |
detectDiamonds(Mat image,
MatVector diamondCorners,
Mat diamondIds) |
void |
detectDiamonds(Mat image,
MatVector diamondCorners,
Mat diamondIds,
MatVector markerCorners,
Mat markerIds)
\brief Detect ChArUco Diamond markers
|
void |
detectDiamonds(Mat image,
UMatVector diamondCorners,
Mat diamondIds) |
void |
detectDiamonds(Mat image,
UMatVector diamondCorners,
Mat diamondIds,
UMatVector markerCorners,
Mat markerIds) |
void |
detectDiamonds(UMat image,
GpuMatVector diamondCorners,
UMat diamondIds) |
void |
detectDiamonds(UMat image,
GpuMatVector diamondCorners,
UMat diamondIds,
GpuMatVector markerCorners,
UMat markerIds) |
void |
detectDiamonds(UMat image,
MatVector diamondCorners,
UMat diamondIds) |
void |
detectDiamonds(UMat image,
MatVector diamondCorners,
UMat diamondIds,
MatVector markerCorners,
UMat markerIds) |
void |
detectDiamonds(UMat image,
UMatVector diamondCorners,
UMat diamondIds) |
void |
detectDiamonds(UMat image,
UMatVector diamondCorners,
UMat diamondIds,
UMatVector markerCorners,
UMat markerIds) |
CharucoBoard |
getBoard() |
CharucoParameters |
getCharucoParameters() |
DetectorParameters |
getDetectorParameters() |
RefineParameters |
getRefineParameters() |
void |
setBoard(CharucoBoard board) |
void |
setCharucoParameters(CharucoParameters charucoParameters) |
void |
setDetectorParameters(DetectorParameters detectorParameters) |
void |
setRefineParameters(RefineParameters refineParameters) |
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CharucoDetector(Pointer p)
Pointer(Pointer)
.public CharucoDetector(Algorithm pointer)
public CharucoDetector(@Const @ByRef CharucoBoard board, @Const @ByRef(nullValue="cv::aruco::CharucoParameters()") CharucoParameters charucoParams, @Const @ByRef(nullValue="cv::aruco::DetectorParameters()") DetectorParameters detectorParams, @Const @ByRef(nullValue="cv::aruco::RefineParameters()") RefineParameters refineParams)
board
- ChAruco boardcharucoParams
- charuco detection parametersdetectorParams
- marker detection parametersrefineParams
- marker refine detection parameterspublic CharucoDetector(@Const @ByRef CharucoBoard board)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(CharucoDetector pointer)
@Const @ByRef public CharucoBoard getBoard()
public void setBoard(@Const @ByRef CharucoBoard board)
@Const @ByRef public CharucoParameters getCharucoParameters()
public void setCharucoParameters(@ByRef CharucoParameters charucoParameters)
@Const @ByRef public DetectorParameters getDetectorParameters()
public void setDetectorParameters(@Const @ByRef DetectorParameters detectorParameters)
@Const @ByRef public RefineParameters getRefineParameters()
public void setRefineParameters(@Const @ByRef RefineParameters refineParameters)
public void detectBoard(@ByVal Mat image, @ByVal Mat charucoCorners, @ByVal Mat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") MatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") Mat markerIds)
image
- input image necesary for corner refinement. Note that markers are not detected and
should be sent in corners and ids parameters.charucoCorners
- interpolated chessboard corners.charucoIds
- interpolated chessboard corners identifiers.markerCorners
- vector of already detected markers corners. For each marker, its four
corners are provided, (e.g std::vectormarkerIds
- list of identifiers for each marker in corners.
If markerCorners and markerCorners are empty, the function detect aruco markers and ids.
This function receives the detected markers and returns the 2D position of the chessboard corners
from a ChArUco board using the detected Aruco markers.
If markerCorners and markerCorners are empty, the detectMarkers() will run and detect aruco markers and ids.
If camera parameters are provided, the process is based in an approximated pose estimation, else it is based on local homography.
Only visible corners are returned. For each corner, its corresponding identifier is also returned in charucoIds.findChessboardCorners
public void detectBoard(@ByVal Mat image, @ByVal Mat charucoCorners, @ByVal Mat charucoIds)
public void detectBoard(@ByVal Mat image, @ByVal Mat charucoCorners, @ByVal Mat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") UMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") Mat markerIds)
public void detectBoard(@ByVal Mat image, @ByVal Mat charucoCorners, @ByVal Mat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") GpuMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") Mat markerIds)
public void detectBoard(@ByVal UMat image, @ByVal UMat charucoCorners, @ByVal UMat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") MatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") UMat markerIds)
public void detectBoard(@ByVal UMat image, @ByVal UMat charucoCorners, @ByVal UMat charucoIds)
public void detectBoard(@ByVal UMat image, @ByVal UMat charucoCorners, @ByVal UMat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") UMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") UMat markerIds)
public void detectBoard(@ByVal UMat image, @ByVal UMat charucoCorners, @ByVal UMat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") GpuMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") UMat markerIds)
public void detectBoard(@ByVal GpuMat image, @ByVal GpuMat charucoCorners, @ByVal GpuMat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") MatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") GpuMat markerIds)
public void detectBoard(@ByVal GpuMat image, @ByVal GpuMat charucoCorners, @ByVal GpuMat charucoIds)
public void detectBoard(@ByVal GpuMat image, @ByVal GpuMat charucoCorners, @ByVal GpuMat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") UMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") GpuMat markerIds)
public void detectBoard(@ByVal GpuMat image, @ByVal GpuMat charucoCorners, @ByVal GpuMat charucoIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") GpuMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") GpuMat markerIds)
public void detectDiamonds(@ByVal Mat image, @ByVal MatVector diamondCorners, @ByVal Mat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") MatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") Mat markerIds)
image
- input image necessary for corner subpixel.diamondCorners
- output list of detected diamond corners (4 corners per diamond). The order
is the same than in marker corners: top left, top right, bottom right and bottom left. Similar
format than the corners returned by detectMarkers (e.g std::vectordiamondIds
- ids of the diamonds in diamondCorners. The id of each diamond is in fact of
type Vec4i, so each diamond has 4 ids, which are the ids of the aruco markers composing the
diamond.markerCorners
- list of detected marker corners from detectMarkers function.
If markerCorners and markerCorners are empty, the function detect aruco markers and ids.markerIds
- list of marker ids in markerCorners.
If markerCorners and markerCorners are empty, the function detect aruco markers and ids.
This function detects Diamond markers from the previous detected ArUco markers. The diamonds
are returned in the diamondCorners and diamondIds parameters. If camera calibration parameters
are provided, the diamond search is based on reprojection. If not, diamond search is based on
homography. Homography is faster than reprojection, but less accurate.public void detectDiamonds(@ByVal Mat image, @ByVal MatVector diamondCorners, @ByVal Mat diamondIds)
public void detectDiamonds(@ByVal Mat image, @ByVal UMatVector diamondCorners, @ByVal Mat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") UMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") Mat markerIds)
public void detectDiamonds(@ByVal Mat image, @ByVal UMatVector diamondCorners, @ByVal Mat diamondIds)
public void detectDiamonds(@ByVal Mat image, @ByVal GpuMatVector diamondCorners, @ByVal Mat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") GpuMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") Mat markerIds)
public void detectDiamonds(@ByVal Mat image, @ByVal GpuMatVector diamondCorners, @ByVal Mat diamondIds)
public void detectDiamonds(@ByVal UMat image, @ByVal MatVector diamondCorners, @ByVal UMat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") MatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") UMat markerIds)
public void detectDiamonds(@ByVal UMat image, @ByVal MatVector diamondCorners, @ByVal UMat diamondIds)
public void detectDiamonds(@ByVal UMat image, @ByVal UMatVector diamondCorners, @ByVal UMat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") UMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") UMat markerIds)
public void detectDiamonds(@ByVal UMat image, @ByVal UMatVector diamondCorners, @ByVal UMat diamondIds)
public void detectDiamonds(@ByVal UMat image, @ByVal GpuMatVector diamondCorners, @ByVal UMat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") GpuMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") UMat markerIds)
public void detectDiamonds(@ByVal UMat image, @ByVal GpuMatVector diamondCorners, @ByVal UMat diamondIds)
public void detectDiamonds(@ByVal GpuMat image, @ByVal MatVector diamondCorners, @ByVal GpuMat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") MatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") GpuMat markerIds)
public void detectDiamonds(@ByVal GpuMat image, @ByVal MatVector diamondCorners, @ByVal GpuMat diamondIds)
public void detectDiamonds(@ByVal GpuMat image, @ByVal UMatVector diamondCorners, @ByVal GpuMat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") UMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") GpuMat markerIds)
public void detectDiamonds(@ByVal GpuMat image, @ByVal UMatVector diamondCorners, @ByVal GpuMat diamondIds)
public void detectDiamonds(@ByVal GpuMat image, @ByVal GpuMatVector diamondCorners, @ByVal GpuMat diamondIds, @ByVal(nullValue="cv::InputOutputArrayOfArrays(cv::noArray())") GpuMatVector markerCorners, @ByVal(nullValue="cv::InputOutputArray(cv::noArray())") GpuMat markerIds)
Copyright © 2024. All rights reserved.