當前位置: 首頁>>代碼示例>>Java>>正文


Java MatOfInt類代碼示例

本文整理匯總了Java中org.opencv.core.MatOfInt的典型用法代碼示例。如果您正苦於以下問題:Java MatOfInt類的具體用法?Java MatOfInt怎麽用?Java MatOfInt使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


MatOfInt類屬於org.opencv.core包,在下文中一共展示了MatOfInt類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getVoronoiFacetList

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public  void getVoronoiFacetList(MatOfInt idx, List<MatOfPoint2f> facetList, MatOfPoint2f facetCenters)
{
    Mat idx_mat = idx;
    Mat facetList_mat = new Mat();
    Mat facetCenters_mat = facetCenters;
    getVoronoiFacetList_0(nativeObj, idx_mat.nativeObj, facetList_mat.nativeObj, facetCenters_mat.nativeObj);
    Converters.Mat_to_vector_vector_Point2f(facetList_mat, facetList);
    facetList_mat.release();
    return;
}
 
開發者ID:csarron,項目名稱:renderscript_examples,代碼行數:11,代碼來源:Subdiv2D.java

示例2: mixChannels

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public static void mixChannels(List<Mat> src, List<Mat> dst, MatOfInt fromTo)
{
    Mat src_mat = Converters.vector_Mat_to_Mat(src);
    Mat dst_mat = Converters.vector_Mat_to_Mat(dst);
    Mat fromTo_mat = fromTo;
    mixChannels_0(src_mat.nativeObj, dst_mat.nativeObj, fromTo_mat.nativeObj);
    
    return;
}
 
開發者ID:vipycm,項目名稱:mao-android,代碼行數:10,代碼來源:Core.java

示例3: convexHull

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public static void convexHull(MatOfPoint points, MatOfInt hull)
{
    Mat points_mat = points;
    Mat hull_mat = hull;
    convexHull_1(points_mat.nativeObj, hull_mat.nativeObj);
    
    return;
}
 
開發者ID:ahmetozlu,項目名稱:real_time_circle_detection_android,代碼行數:9,代碼來源:Imgproc.java

示例4: groupRectangles

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public static void groupRectangles(MatOfRect rectList, MatOfInt weights, int groupThreshold)
{
    Mat rectList_mat = rectList;
    Mat weights_mat = weights;
    groupRectangles_1(rectList_mat.nativeObj, weights_mat.nativeObj, groupThreshold);
    
    return;
}
 
開發者ID:KAlO2,項目名稱:OpenCV,代碼行數:9,代碼來源:Objdetect.java

示例5: getLeadingEdgeList

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public  void getLeadingEdgeList(MatOfInt leadingEdgeList)
{
    Mat leadingEdgeList_mat = leadingEdgeList;
    getLeadingEdgeList_0(nativeObj, leadingEdgeList_mat.nativeObj);
    
    return;
}
 
開發者ID:vulovicv23,項目名稱:opencv-documentscanner-android,代碼行數:8,代碼來源:Subdiv2D.java

示例6: calcHist

import org.opencv.core.MatOfInt; //導入依賴的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:ykarim,項目名稱:FTC2016,代碼行數:11,代碼來源:Imgproc.java

示例7: detectMultiScale3

import org.opencv.core.MatOfInt; //導入依賴的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;
}
 
開發者ID:spacejake,項目名稱:android-age-estimator,代碼行數:10,代碼來源:CascadeClassifier.java

示例8: detectMultiScale2

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public  void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections)
{
    Mat objects_mat = objects;
    Mat numDetections_mat = numDetections;
    detectMultiScale2_1(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj);
    
    return;
}
 
開發者ID:PawelTypiak,項目名稱:Checkerboard-IMU-Comparator,代碼行數:9,代碼來源:CascadeClassifier.java

示例9: getMemoryConsumption

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public  void getMemoryConsumption(int layerId, MatOfInt netInputShape, long[] weights, long[] blobs)
{
    Mat netInputShape_mat = netInputShape;
    double[] weights_out = new double[1];
    double[] blobs_out = new double[1];
    getMemoryConsumption_1(nativeObj, layerId, netInputShape_mat.nativeObj, weights_out, blobs_out);
    if(weights!=null) weights[0] = (long)weights_out[0];
    if(blobs!=null) blobs[0] = (long)blobs_out[0];
    return;
}
 
開發者ID:SCHS-Robotics,項目名稱:Team9261-2017-2018,代碼行數:11,代碼來源:Net.java

示例10: detectMultiScale2

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public  void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)
{
    Mat objects_mat = objects;
    Mat numDetections_mat = numDetections;
    detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height);
    
    return;
}
 
開發者ID:vulovicv23,項目名稱:opencv-documentscanner-android,代碼行數:9,代碼來源:CascadeClassifier.java

示例11: imwrite

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public static boolean imwrite(String filename, Mat img, MatOfInt params)
{
    Mat params_mat = params;
    boolean retVal = imwrite_0(filename, img.nativeObj, params_mat.nativeObj);
    
    return retVal;
}
 
開發者ID:GTHSRobotics,項目名稱:DogeCV,代碼行數:8,代碼來源:Imgcodecs.java

示例12: calcBackProject

import org.opencv.core.MatOfInt; //導入依賴的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:daquexian,項目名稱:DNNLibrary,代碼行數:10,代碼來源:Imgproc.java

示例13: getFLOPS

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public  long getFLOPS(MatOfInt netInputShape)
{
    Mat netInputShape_mat = netInputShape;
    long retVal = getFLOPS_0(nativeObj, netInputShape_mat.nativeObj);
    
    return retVal;
}
 
開發者ID:daquexian,項目名稱:DNNLibrary,代碼行數:8,代碼來源:Net.java

示例14: create

import org.opencv.core.MatOfInt; //導入依賴的package包/類
public static BRISK create(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_2(radiusList_mat.nativeObj, numberList_mat.nativeObj, dMax, dMin, indexChange_mat.nativeObj));
    
    return retVal;
}
 
開發者ID:vipycm,項目名稱:mao-android,代碼行數:10,代碼來源:BRISK.java

示例15: calcHist

import org.opencv.core.MatOfInt; //導入依賴的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:johnhany,項目名稱:MOAAP,代碼行數:11,代碼來源:Imgproc.java


注:本文中的org.opencv.core.MatOfInt類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。