ICode9

精准搜索请尝试: 精确搜索
  • C++ 地形导航系统之确定峰点的位置2022-08-31 20:31:49

    #include <iostream> #include <string> #include <fstream> #define N 64 bool isPeak(int grid[][N], int r, int c); int main() { int nrows, ncols; int map[N][N]; string filename; ifstream file; cout << "请输入文

  • OpenCV 最小二乘法拟合平面2022-05-25 16:02:03

    本文主要验证了博客上的最小二乘法拟合平面的。与 用matlab拟合出来的平面计算的点到直线的距离是一样的,而且系数也是一样的。说明了本方法的可行性。matlab中公式为z = c + ax +byoepncv中公式为Ax+By+Cz=D 将opencv中公式换算成matlab的公式,系数是一样的。 平面公式为:Ax+By+Cz=D

  • MATLAB马赛克图像处理2021-12-05 16:02:59

    clc; A=imread('baimao.jpg'); figure(1); subplot(1,2,1); imshow(A);title('原图'); [rows , cols , colors] = size(A);%得到原来图像的矩阵的参数 n=6; nrows = floor(rows/n)*n;%将不一定是n的整数倍的图像大小化为整数倍 ncols = floor(cols/n)*n; for color = 1:3

  • excel的处理2021-04-25 23:55:01

    # -*- coding: utf8 -*- import xlrd import xlsxwriter data = xlrd.open_workbook( "00-KIDSWANT-basis-20141114_双周计画.xls".decode('utf8').encode('gbk') ) table = data.sheets()[0] nrows = table.nrows ncols = table.ncols workbook =

  • 利用Python实现自动化办公之Excel简单操作2021-04-13 20:03:20

    Python实现自动化办公之Excel简单操作 一、用python创建一个excel1.首先下载相关的excel库函数:2.制作一个成绩单3.运行结果 二 、读出刚刚用代码生成的excel,并进行相关的操作(求成绩的平均值,及最大值)运行结果: 一、用python创建一个excel 1.首先下载相关的excel库函数: p

  • 2020-12-132020-12-13 21:31:00

    这是我的项目老师布置给我的代码优化题目,但对于一个初学c语言不到三个月的小白来说着实有点困难,所以求大佬帮助。 int ScaC_DSPF_sp_sort_singular_values(const int Nrows, const int Ncols, double *U, double *V, double *singular_values) { int i, j, row, max_index; d

  • 连通域降噪(转载)2019-08-19 17:02:30

    原文链接:https://blog.csdn.net/ysc6688 void ContoursRemoveNoise(cv::Mat & srcImage) {     int i, j;     int color = 1;     int nRows = srcImage.rows;     int nCols = srcImage.cols;       for (i = 0; i < nRows; ++i)   

  • python读取excel,返回dic列表2019-04-12 09:51:38

    def get_xls_sheets_as_dic(pro_name, xls_name): dic_list = [] xls_path = os.path.join(BASE_PATH, "testFile", 'case', pro_name, xls_name) file = open_workbook(xls_path) sheets = file.sheets() for sheet in sheets: nr

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有