码迷,mamicode.com
首页 >  
搜索关键字:ret    ( 30742个结果
【形状检测】基于matlab Hough变换形状检测【含Matlab源码 468期】
一、简介 霍夫变换(Hough Transform)是图像处理中的一种特征提取技术,它通过一种投票算法检测具有特定形状的物体。该过程在一个参数空间中通过计算累计结果的局部最大值得到一个符合该特定形状的集合作为霍夫变换结果。霍夫变换于1962年由Paul Hough 首次提出[53],后于1972年由 ...
分类:其他好文   时间:2021-06-28 20:59:18    阅读次数:0
每日温度
https://leetcode-cn.com/problems/daily-temperatures/ 思路1: 使用单调递减栈 public int[] dailyTemperatures(int[] T) { if (T == null || T.length == 0) return nul ...
分类:其他好文   时间:2021-06-28 19:54:53    阅读次数:0
异常处理
throw 抛异常 throw new Exception('参数只能是数字') try...catch 异常 try { //抛异常的代码 } catch (Exception $e) { echo $e->getMessage(); } 实例 /src/TestException.php (抛异 ...
分类:其他好文   时间:2021-06-28 19:30:58    阅读次数:0
一个新的发现
发现自己的基础太不牢固了 #include<bits/stdc++.h> using namespace std; int cnt=0; int dfs(int x) { if(x>=100)return x; dfs(x+1); dfs(x+2); } int main() { cout<<dfs ...
分类:其他好文   时间:2021-06-28 19:03:09    阅读次数:0
element-ui的change方法传递参数
在官网可以看到,input、select等标签,当绑定值变化时,就会触发chenge方法,默认里面传递的是更新后的值。使用radio为例说明: 1)不传递参数 <el-radio @change="getValue" label="1" v-model="sex">男</el-radio> <el- ...
分类:其他好文   时间:2021-06-28 18:59:20    阅读次数:0
PHP循环求和--计算s=100+101+...+999的奇数之和
1 <?php 2 $s=0; 3 for($i=100;$i<=999;$i++){ 4 if($i%2==1){ 5 $s+=$i; 6 } 7 } 8 echo $s; 9 echo "<br>"; 10 ?> 1 function getQ($num, $sum = 0) { 2 $numQ ...
分类:Web程序   时间:2021-06-28 18:50:45    阅读次数:0
CF724F Uniformly Branched Trees
tag:重心,dp,组合计数 晕呼呼地计数... 题意 求 \(n\) 个点的不同的树的个数(同构视为一种,无标号),使得每个点的度数为 \(1\) 或 \(d\)。 \(n\le1000, 2\le d\le10\) 题解 无标号树同构问题一般想到找重心,把重心作为根,这里先假设重心唯一(\(n\ ...
分类:其他好文   时间:2021-06-28 18:37:31    阅读次数:0
mtt模板
4次FFT 1.21s #include<bits/stdc++.h> using namespace std; #define forg(i,x) for(register int i=fir[x];i;i=nxt[i]) #define uu unsigned #define scanf a14 ...
分类:其他好文   时间:2021-06-28 17:47:57    阅读次数:0
27.Python:函数的定义与调用
# Python learning# coding:utf-8# 1.函数的定义""" def 函数名(参数1, 参数2, 参数3,……): 函数体 return 值 函数名() # 调用函数"""# 形式1:无参函数# def func():# print("hahaha")## func()# ...
分类:编程语言   时间:2021-06-25 17:20:07    阅读次数:0
三种简单的排序
//冒泡排序,思想就是每个数据与下一个数据一个个对比下去 public static void sort(int[] nums){ if(nums==null||nums.length==0){ return; } for(int i =0;i<nums.length;i++){ for(int j ...
分类:编程语言   时间:2021-06-25 16:58:16    阅读次数:0
30742条   上一页 1 ... 3 4 5 6 7 ... 3075 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!