当前位置: 首页>>代码示例>>Java>>正文


Java MatOfFloat类代码示例

本文整理汇总了Java中org.opencv.core.MatOfFloat的典型用法代码示例。如果您正苦于以下问题:Java MatOfFloat类的具体用法?Java MatOfFloat怎么用?Java MatOfFloat使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MatOfFloat类属于org.opencv.core包,在下文中一共展示了MatOfFloat类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: calcHist

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void calcHist(List<Mat> images, MatOfInt channels, Mat mask, Mat hist, MatOfInt histSize, MatOfFloat ranges, boolean accumulate)
{
    Mat images_mat = Converters.vector_Mat_to_Mat(images);
    Mat channels_mat = channels;
    Mat histSize_mat = histSize;
    Mat ranges_mat = ranges;
    calcHist_0(images_mat.nativeObj, channels_mat.nativeObj, mask.nativeObj, hist.nativeObj, histSize_mat.nativeObj, ranges_mat.nativeObj, accumulate);
    
    return;
}
 
开发者ID:vulovicv23,项目名称:opencv-documentscanner-android,代码行数:11,代码来源:Imgproc.java

示例2: compute

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public  void compute(Mat img, MatOfFloat descriptors)
{
    Mat descriptors_mat = descriptors;
    compute_1(nativeObj, img.nativeObj, descriptors_mat.nativeObj);

    return;
}
 
开发者ID:wblgers,项目名称:OpenCV_Android_Plus,代码行数:8,代码来源:HOGDescriptor.java

示例3: compute

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public  void compute(Mat img, MatOfFloat descriptors)
{
    Mat descriptors_mat = descriptors;
    compute_1(nativeObj, img.nativeObj, descriptors_mat.nativeObj);
    
    return;
}
 
开发者ID:ravindu1024,项目名称:android-imaging-utils,代码行数:8,代码来源:HOGDescriptor.java

示例4: calcOpticalFlowPyrLK

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel)
{
    Mat prevPts_mat = prevPts;
    Mat nextPts_mat = nextPts;
    Mat status_mat = status;
    Mat err_mat = err;
    calcOpticalFlowPyrLK_1(prevImg.nativeObj, nextImg.nativeObj, prevPts_mat.nativeObj, nextPts_mat.nativeObj, status_mat.nativeObj, err_mat.nativeObj, winSize.width, winSize.height, maxLevel);
    
    return;
}
 
开发者ID:spacejake,项目名称:android-age-estimator,代码行数:11,代码来源:Video.java

示例5: setTranslations

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public  void setTranslations(MatOfFloat translations)
{
    Mat translations_mat = translations;
    setTranslations_0(nativeObj, translations_mat.nativeObj);
    
    return;
}
 
开发者ID:johnhany,项目名称:MOAAP,代码行数:8,代码来源:PCTSignatures.java

示例6: calcOpticalFlowPyrLK

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)
{
    Mat prevPts_mat = prevPts;
    Mat nextPts_mat = nextPts;
    Mat status_mat = status;
    Mat err_mat = err;
    calcOpticalFlowPyrLK_0(prevImg.nativeObj, nextImg.nativeObj, prevPts_mat.nativeObj, nextPts_mat.nativeObj, status_mat.nativeObj, err_mat.nativeObj, winSize.width, winSize.height, maxLevel, criteria.type, criteria.maxCount, criteria.epsilon, flags, minEigThreshold);
    
    return;
}
 
开发者ID:typer9527,项目名称:FaceDetectDemo,代码行数:11,代码来源:Video.java

示例7: calcHist

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void calcHist(List<Mat> images, MatOfInt channels, Mat mask, Mat hist, MatOfInt histSize, MatOfFloat ranges)
{
    Mat images_mat = Converters.vector_Mat_to_Mat(images);
    Mat channels_mat = channels;
    Mat histSize_mat = histSize;
    Mat ranges_mat = ranges;
    calcHist_1(images_mat.nativeObj, channels_mat.nativeObj, mask.nativeObj, hist.nativeObj, histSize_mat.nativeObj, ranges_mat.nativeObj);
    
    return;
}
 
开发者ID:raulh82vlc,项目名称:Image-Detection-Samples,代码行数:11,代码来源:Imgproc.java

示例8: compute

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public  void compute(Mat img, MatOfFloat descriptors, Size winStride, Size padding, MatOfPoint locations)
{
    Mat descriptors_mat = descriptors;
    Mat locations_mat = locations;
    compute_0(nativeObj, img.nativeObj, descriptors_mat.nativeObj, winStride.width, winStride.height, padding.width, padding.height, locations_mat.nativeObj);
    
    return;
}
 
开发者ID:johnhany,项目名称:MOAAP,代码行数:9,代码来源:HOGDescriptor.java

示例9: chamerMatching

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static int chamerMatching(Mat img, Mat templ, List<MatOfPoint> results, MatOfFloat cost)
{
    Mat results_mat = new Mat();
    Mat cost_mat = cost;
    int retVal = chamerMatching_1(img.nativeObj, templ.nativeObj, results_mat.nativeObj, cost_mat.nativeObj);
    Converters.Mat_to_vector_vector_Point(results_mat, results);
    results_mat.release();
    return retVal;
}
 
开发者ID:Deeplocal,项目名称:android-things-drawbot,代码行数:10,代码来源:Contrib.java

示例10: NMSBoxes

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void NMSBoxes(MatOfRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxes_1(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj);
    
    return;
}
 
开发者ID:yippeesoft,项目名称:NotifyTools,代码行数:10,代码来源:Dnn.java

示例11: fastNlMeansDenoisingMulti

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType)
{
    Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
    Mat h_mat = h;
    fastNlMeansDenoisingMulti_2(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj, templateWindowSize, searchWindowSize, normType);
    
    return;
}
 
开发者ID:yippeesoft,项目名称:NotifyTools,代码行数:9,代码来源:Photo.java

示例12: create

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
{
    Mat radiusList_mat = radiusList;
    Mat numberList_mat = numberList;
    Mat indexChange_mat = indexChange;
    BRISK retVal = new BRISK(create_0(thresh, octaves, radiusList_mat.nativeObj, numberList_mat.nativeObj, dMax, dMin, indexChange_mat.nativeObj));
    
    return retVal;
}
 
开发者ID:yippeesoft,项目名称:NotifyTools,代码行数:10,代码来源:BRISK.java

示例13: calcOpticalFlowPyrLK

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err)
{
    Mat prevPts_mat = prevPts;
    Mat nextPts_mat = nextPts;
    Mat status_mat = status;
    Mat err_mat = err;
    calcOpticalFlowPyrLK_2(prevImg.nativeObj, nextImg.nativeObj, prevPts_mat.nativeObj, nextPts_mat.nativeObj, status_mat.nativeObj, err_mat.nativeObj);
    
    return;
}
 
开发者ID:SCHS-Robotics,项目名称:Team9261-2017-2018,代码行数:11,代码来源:Video.java

示例14: fastNlMeansDenoising

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType)
{
    Mat h_mat = h;
    fastNlMeansDenoising_2(src.nativeObj, dst.nativeObj, h_mat.nativeObj, templateWindowSize, searchWindowSize, normType);
    
    return;
}
 
开发者ID:PawelTypiak,项目名称:Checkerboard-IMU-Comparator,代码行数:8,代码来源:Photo.java

示例15: calcBackProject

import org.opencv.core.MatOfFloat; //导入依赖的package包/类
public static void calcBackProject(List<Mat> images, MatOfInt channels, Mat hist, Mat dst, MatOfFloat ranges, double scale)
{
    Mat images_mat = Converters.vector_Mat_to_Mat(images);
    Mat channels_mat = channels;
    Mat ranges_mat = ranges;
    calcBackProject_0(images_mat.nativeObj, channels_mat.nativeObj, hist.nativeObj, dst.nativeObj, ranges_mat.nativeObj, scale);
    
    return;
}
 
开发者ID:ravindu1024,项目名称:android-imaging-utils,代码行数:10,代码来源:Imgproc.java


注:本文中的org.opencv.core.MatOfFloat类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。