當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。