本文整理汇总了Java中org.opencv.core.MatOfDouble类的典型用法代码示例。如果您正苦于以下问题:Java MatOfDouble类的具体用法?Java MatOfDouble怎么用?Java MatOfDouble使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MatOfDouble类属于org.opencv.core包,在下文中一共展示了MatOfDouble类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: detect
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding, MatOfPoint searchLocations)
{
Mat foundLocations_mat = foundLocations;
Mat weights_mat = weights;
Mat searchLocations_mat = searchLocations;
detect_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, searchLocations_mat.nativeObj);
return;
}
示例2: detect
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights)
{
Mat foundLocations_mat = foundLocations;
Mat weights_mat = weights;
detect_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj);
return;
}
示例3: detectMultiScale
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold, boolean useMeanshiftGrouping)
{
Mat foundLocations_mat = foundLocations;
Mat foundWeights_mat = foundWeights;
detectMultiScale_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, scale, finalThreshold, useMeanshiftGrouping);
return;
}
示例4: solvePnPRansac
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static boolean solvePnPRansac(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec)
{
Mat objectPoints_mat = objectPoints;
Mat imagePoints_mat = imagePoints;
Mat distCoeffs_mat = distCoeffs;
boolean retVal = solvePnPRansac_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj);
return retVal;
}
示例5: detectMultiScale3
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights)
{
Mat objects_mat = objects;
Mat rejectLevels_mat = rejectLevels;
Mat levelWeights_mat = levelWeights;
detectMultiScale3_1(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj);
return;
}
示例6: detect
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding, MatOfPoint searchLocations)
{
Mat foundLocations_mat = foundLocations;
Mat weights_mat = weights;
Mat searchLocations_mat = searchLocations;
detect_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, searchLocations_mat.nativeObj);
return;
}
示例7: detectMultiScale
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights)
{
Mat foundLocations_mat = foundLocations;
Mat foundWeights_mat = foundWeights;
detectMultiScale_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj);
return;
}
示例8: projectPoints
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static void projectPoints(MatOfPoint3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, MatOfDouble distCoeffs, MatOfPoint2f imagePoints, Mat jacobian, double aspectRatio)
{
Mat objectPoints_mat = objectPoints;
Mat distCoeffs_mat = distCoeffs;
Mat imagePoints_mat = imagePoints;
projectPoints_0(objectPoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, imagePoints_mat.nativeObj, jacobian.nativeObj, aspectRatio);
return;
}
示例9: solvePnPRansac
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static boolean solvePnPRansac(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec, boolean useExtrinsicGuess, int iterationsCount, float reprojectionError, double confidence, Mat inliers, int flags)
{
Mat objectPoints_mat = objectPoints;
Mat imagePoints_mat = imagePoints;
Mat distCoeffs_mat = distCoeffs;
boolean retVal = solvePnPRansac_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, useExtrinsicGuess, iterationsCount, reprojectionError, confidence, inliers.nativeObj, flags);
return retVal;
}
示例10: projectPoints
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static void projectPoints(MatOfPoint3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, MatOfDouble distCoeffs, MatOfPoint2f imagePoints)
{
Mat objectPoints_mat = objectPoints;
Mat distCoeffs_mat = distCoeffs;
Mat imagePoints_mat = imagePoints;
projectPoints_1(objectPoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, imagePoints_mat.nativeObj);
return;
}
示例11: detectMultiScale3
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels)
{
Mat objects_mat = objects;
Mat rejectLevels_mat = rejectLevels;
Mat levelWeights_mat = levelWeights;
detectMultiScale3_0(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height, outputRejectLevels);
return;
}
示例12: meanStdDev
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static void meanStdDev(Mat src, MatOfDouble mean, MatOfDouble stddev, Mat mask)
{
Mat mean_mat = mean;
Mat stddev_mat = stddev;
meanStdDev_0(src.nativeObj, mean_mat.nativeObj, stddev_mat.nativeObj, mask.nativeObj);
return;
}
示例13: solvePnP
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static boolean solvePnP(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec, boolean useExtrinsicGuess, int flags)
{
Mat objectPoints_mat = objectPoints;
Mat imagePoints_mat = imagePoints;
Mat distCoeffs_mat = distCoeffs;
boolean retVal = solvePnP_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, useExtrinsicGuess, flags);
return retVal;
}
示例14: detect
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights)
{
Mat foundLocations_mat = foundLocations;
Mat weights_mat = weights;
detect_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj);
return;
}
示例15: solvePnP
import org.opencv.core.MatOfDouble; //导入依赖的package包/类
public static boolean solvePnP(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec)
{
Mat objectPoints_mat = objectPoints;
Mat imagePoints_mat = imagePoints;
Mat distCoeffs_mat = distCoeffs;
boolean retVal = solvePnP_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj);
return retVal;
}