登录
首页 » 算法 » C显示图像

C显示图像

于 2022-03-04 发布 文件大小:33.62 kB
0 285
下载积分: 2 下载次数: 1

代码说明:

资源描述很简单的小程序。#include   #include using namespace cv; void main() { IplImage *src; src = cvLoadImage("lena.jpg"); //这里将lena.jpg和lena.cpp文件放在同一个文件夹下 cvNamedWindow("lena", CV_WINDOW_AUTOSIZE); cvShowImage("lena", src); cvWaitKey(0); cvDestroyWindow("lena"); cvReleaseImage(&src); }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SVM 图像识别
    利用SVM分类器对图像进行分类,运行环境为opencv,并且代码包内含有关于libSVM的相关文献
    2023-07-28 00:50:04下载
    积分:1
  • 布尔:你将获得两布尔陈述你的任务是检查吧…
    bool:you will be given two bool statements and your assignment is to check it right or wrong.-bool : you will be given two statements and your bool as signment is to check it right or wrong.
    2022-03-07 15:23:05下载
    积分:1
  • 蚁群算法
    运用蚁群算法对函数进行求解 得到最优解,运用蚁群算法对函数进行求解 得到最优解
    2022-06-16 18:09:17下载
    积分:1
  • 高斯正算坐标程序计算高斯投影的正算问题克拉索夫斯基椭球...
    高斯正算坐标程序计算高斯投影的正算问题克拉索夫斯基椭球-Gaussian count is calculated coordinates of the Gaussian projection is counting police used batons for dispersing ellipsoid
    2023-05-22 00:55:03下载
    积分:1
  • 连数据库,输入用户名和密码后如何跳转到主窗口
    import javax.swing.*; import java.awt.event.*; import java.sql.*; public class Login extends JFrame implements ActionListener { private JLabel lbId, lbPass; private JTextField txtId, txtPass; private JButton btLogin, btExit; private Connection datacon = null;//连接对象 private PreparedStatement pstat = null;//命令对象 private ResultSet rs = null;//结果
    2022-02-05 20:26:14下载
    积分:1
  • 各种矩阵算法库。支持UpperTriangularMatrix,LowerTriangularMatrix, DiagonalMatrix, Symmetric...
    各种矩阵算法库。支持UpperTriangularMatrix,LowerTriangularMatrix, DiagonalMatrix, SymmetricMatrix, BandMatrix,UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, RowVector,ColumnVector。- Each kind of matrix algorithm storehouse. Supports UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, SymmetricMatrix, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, RowVector, ColumnVector.
    2022-06-03 03:03:27下载
    积分:1
  • 非线性系统的C
    非线性系统的C-C算法,程序运行良好,能为从事混沌方面研究的人员提供一定的便利.-Nonlinear Systems C-C algorithms, running good, to engage in research in the chaotic provide certain facilities.
    2023-04-09 18:15:03下载
    积分:1
  • 找到了本征模式,运用matlab语言编写的程序,对科技工作者有很有帮助,可以解决maxwell方程...
    找到了本征模式,运用matlab语言编写的程序,对科技工作者有很有帮助,可以解决maxwell方程-found a pattern of the levy, using the Matlab language procedures, right technology workers are helpful, maxwell equation can be solved
    2023-01-08 07:00:02下载
    积分:1
  • 任意长度的乘法汇编程序(ASM)
    任意长度的乘法汇编程序(ASM)-multiplication of arbitrary length compilation process (ASM)
    2022-02-04 05:07:31下载
    积分:1
  • FPGA数字时钟 6.10.24进制计数器。
     错不了。。相信我。。是一个关于数字时钟需要用到的进制算法,我把他单独分开出来的模块。源码内容较为简单但是 缺 五脏俱全。原理是这样的,把时钟分为 秒模块,分模块,时模块。秒和分模块一样一起讲,以秒为例子。z秒是0-59那么有个位和十位,个位上数字是0-9,十位上是0-5.那么在秒十位上就是用十进制,在十位上用6进制。这样就可以实现秒个位到9的时候下一秒 向秒十位进1.当秒到59时候,下一秒向分的个位进1.一样的步骤实现分的进制算法。时的算法较为复杂,它分了两段来计时,在时的个位上记两次十进制,在加四的时候停止,重新从00 开始计时。时的算法解释的比较仓促,需要详情请联系我。
    2022-01-25 22:19:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载