• 大小: 15.61M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-29
  • 语言: C/C++
  • 标签: 学习  源码  opencv  

资源简介


资源截图

代码片段和文件信息

//
//  main.cpp
//  LearningOpenCV
//
//  Created by YourtionGuo on 7/28/16.
//  Copyright © 2016 Yourtion. All rights reserved.
//

#include 
#include 
#include 
#include 


int main(int argc const char * argv[]) {
    
    IplImage* img = cvCreateImage( cvSize( 500 500 ) 8 3 );
    CvRNG rng = cvRNG(-1);
    
    cvNamedWindow( “fitline“ 1 );
    for(;;) {
        char key;
        int i count = cvRandInt(&rng) % 100 + 1 outliers = count/5;
        float a = cvRandReal(&rng) * 200;
        float b = cvRandReal(&rng) * 40;
        float angle = cvRandReal(&rng) * CV_PI;
        float cos_a = cos(angle) sin_a = sin(angle);
        CvPoint pt1 pt2;
        CvPoint* points = (CvPoint*)malloc( count * sizeof(points[0]));
        CvMat pointMat = cvM

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-01-05 08:08  LearningOpenCV-master\
     文件         249  2017-01-05 08:08  LearningOpenCV-master\.gitignore
     文件        3759  2017-01-05 08:08  LearningOpenCV-master\README.md
     文件      293184  2017-01-05 08:08  LearningOpenCV-master\ScreenShot1.png
     目录           0  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\
     文件        1170  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\.gitignore
     目录           0  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\
     文件       36471  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\project.pbxproj
     目录           0  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\project.xcworkspace\
     文件         159  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\project.xcworkspace\contents.xcworkspacedata
     目录           0  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\xcshareddata\
     目录           0  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\xcshareddata\xcschemes\
     文件        4102  2017-01-05 08:08  LearningOpenCV-master\XcodeProject\LearningOpenCV.xcodeproj\xcshareddata\xcschemes\LearningOpenCV.xcscheme
     目录           0  2017-01-05 08:08  LearningOpenCV-master\data\
     文件         236  2017-01-05 08:08  LearningOpenCV-master\data\Distortion.xml
     文件         253  2017-01-05 08:08  LearningOpenCV-master\data\Intrinsics.xml
     文件      123322  2017-01-05 08:08  LearningOpenCV-master\data\OpticalFlow0.jpg
     文件      120223  2017-01-05 08:08  LearningOpenCV-master\data\OpticalFlow1.jpg
     文件      179920  2017-01-05 08:08  LearningOpenCV-master\data\baboon.jpg
     文件      302321  2017-01-05 08:08  LearningOpenCV-master\data\birdseye.jpg
     目录           0  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\
     文件      317775  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0214.jpg
     文件      317832  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0214L.jpg
     文件      325383  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0215.jpg
     文件      325446  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0215L.jpg
     文件      302958  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0217.jpg
     文件      302321  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0217L.jpg
     文件      296209  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0218.jpg
     文件      295342  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0218L.jpg
     文件      297508  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0219.jpg
     文件      297073  2017-01-05 08:08  LearningOpenCV-master\data\birdseye\IMG_0219L.jpg
............此处省略99个文件信息

评论

共有 条评论