- 博客(71)
- 资源 (4)
- 收藏
- 关注
原创 shape_based_matching lineMod开源代码学习
此处的实现,目标点位将其右下[0,T]范围内的梯度都进行了或操作,即某梯度只向其左上方T大小的范围内进行了扩散,与下文中的T间隔采样暗合,类似于粗略匹配,且针对噪音或微小形变具备较好的鲁棒性,但因此匹配精度上有所欠缺,才有了后续的icp+subpixel finetune。1、linemod论文中,梯度扩散是以当前像素为中心点,从r范围的邻域进行梯度扩散。以上是阅读论文+代码时存在疑惑,记录一下。
2023-06-20 10:30:47 535
转载 C++异常机制
<div class="postBody"> <div id="cnblogs_post_body" class="blogpost-body blogpost-body-html"><h2>1、C函数的调用和返回</h2><p> 要理解C++异常机制实现之前,首先要了解一个函数的调用和返回机制,这里面就要涉及到ESP和EBP寄存器。我们先看一下函数调用和返回的流程。</p><div cla...
2021-09-16 00:23:53 339
原创 关于win10自带邮箱绑定163邮箱的设置
关于win10自带邮箱绑定163邮箱的设置问题 : win10自带邮箱客户端直接登录163邮箱,会无法同步邮件邮箱账号后出现感叹号,提示需要新密码或授权按照以下步骤可以顺利登陆并同步邮件。1、163网站开启 IMAP/POP3服务,并通过手机发送验证码获取授权码2、将获取到的授权码输入到win10自带邮箱弹出的密码提示栏即可注意,第一次设置邮箱时,输入的是邮箱密码,然后会发现无法同步邮件,需要新密码或授权码,此时再次点击左侧邮箱账户,会弹出一个输入密码的对话框,此..
2020-10-31 11:40:54 11579 4
转载 互斥量和条件变量
转载点击打开链接 pthread_cond_wait总和一个互斥锁结合使用。在调用pthread_cond_wait前要先获取锁。pthread_cond_wait函数执行时先自动释放指定的锁,然后等待条件变量的变化。在函数调用返回之前,自动将指定的互斥量重新锁住。int pthread_cond_signal(pthread_cond_t * cond);pthread_cond_sign...
2018-07-16 11:59:27 267
转载 linux muduo compiler
muduo install and use 安装的话可以百度搜索一下:muduo网络库使用手册 这里进行一些简要的总结 先贴一下muduo库github地址: https://github.com/chenshuo/muduo/1.muduo采用CMake编译,首先安装CMake:$ sudo apt-get install cmake12.muduo依赖boost...
2018-07-08 20:19:20 248
原创 虚拟机如何让屏幕自适应客户机窗口大小
1、菜单栏安装VMware-Tool2、sudo apt-get install open-vm-tools装完这两个就可以,有些人只安装了第一个,只要把open-vm-tools也安装了就可以自动适应客户机了,亲测有效!·······················································分割线·······························...
2018-07-07 22:29:04 19872 2
转载 softmax 惩罚函数推到过程 转载
转自 http://blog.csdn.net/rtygbwwwerr/article/details/42147783
2017-12-21 11:28:42 392
转载 Lasso回归算法: 坐标轴下降法与最小角回归法小结
前面的文章对线性回归做了一个小结,文章在这: 线性回归原理小结。里面对线程回归的正则化也做了一个初步的介绍。提到了线程回归的L2正则化-Ridge回归,以及线程回归的L1正则化-Lasso回归。但是对于Lasso回归的解法没有提及,本文是对该文的补充和扩展。以下都用矩阵法表示,如果对于矩阵分析不熟悉,推荐学习张贤达的《矩阵分析与应用》。1. 回顾线性回归 首先我们简要回归下线性回归
2017-11-24 17:06:12 1612
原创 36. Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.A partially fille
2017-06-27 10:36:31 225
原创 416. Partition Equal Subset Sum
Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is equal.Note:Each of the array
2017-06-25 12:03:22 199
原创 华为笔试最高分代码问题
题目就不赘述了,下面贴出来两个代码,一个代码ac 10%,另一个则是100%int main(){ int N,M; while(cin>>N>>M){ vector stu(N); int a,b;char c; for(int i=0;i>stu[i]; for(int j=0;j<M;++j){
2017-06-23 16:37:59 897
原创 304. Range Sum Query 2D - Immutable
Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2).The above rectangle (with the red bo
2017-06-22 11:29:00 192
原创 125. Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is not a
2017-06-22 11:03:01 194
原创 慢慢学 动态规划
多做几道题来理解动态规划吧。毕竟代码写出来才能算是真正理解了。A、leetcode 198. House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only c
2017-06-21 09:51:09 307
原创 40. Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each number in C may only be used once in the combina
2017-06-20 11:17:31 199
原创 190. Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 001110010
2017-06-19 10:04:05 221
原创 374. Guess Number Higher or Lower
We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Every time you guess wrong, I'll tell you whether the number is h
2017-06-16 11:46:04 221
原创 112. Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below binary tree and sum
2017-06-09 16:01:50 199
原创 371. Sum of Two Integers
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3.预备知识:整数在计算机中的表示方法(信息存储):有符号数:既包括正数负数零;计算机中表示有
2017-06-09 15:05:42 179
原创 257. Binary Tree Paths
Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["1->2->5", "1->3"]class S
2017-06-08 09:50:00 203
转载 unix网络编程 环境搭建 环境配置
转自:http://blog.csdn.net/zone_programming/article/details/51050726遇到跟这篇博客一模一样的问题,但是搜索时并没有出现在首页,于是转载并重新起了个题目。学习unp网络编程,树上的例子均存在#include "unp.h",故需要对环境进行配置。1. 到资源页下载unpv13e 2. 解压并将unpv13e
2017-06-07 15:20:43 895
原创 101. Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \3 4 4 3
2017-06-07 10:12:48 234
原创 167. Two Sum II - Input array is sorted
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two number
2017-06-06 09:52:28 209
原创 169. Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element
2017-06-05 10:12:38 182
原创 242. Valid Anagram
Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t = "car", return false.Note:You may ass
2017-06-02 09:53:31 175
原创 136. Single Number
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using ext
2017-06-02 09:37:52 165
原创 415. Add Strings
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2.Note:The length of both num1 and num2 is Both num1 and num2 contains only digits 0-
2017-06-01 16:19:31 163
原创 459. Repeated Substring Pattern
Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You may assume the given string consists of lowercase Eng
2017-06-01 10:34:48 255
原创 205. Isomorphic Strings
Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replaced with
2017-05-31 16:39:25 179
原创 Invert a binary tree.
Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1code:class Solution {public: TreeNode* invertTree(TreeNo
2017-05-31 10:43:40 325
原创 104. Maximum Depth of Binary Tree
max tree depthGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.DFSclass Sol
2017-05-31 10:13:19 184
原创 27. Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for another array, you must do this in place with constant memory.
2017-05-31 09:44:59 155
原创 leetcode 268. Missing Number
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given nums = [0, 1, 3] return 2.涉及到位操作:异或code:
2017-05-27 17:33:28 264
原创 leetcode 26. Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with
2017-05-27 16:31:06 153
圆拟合, 最小二乘法, IRLS 权重迭代
2023-12-21
linemod + icp + subpixel
2023-06-20
Wireshark-win64-3.4.0.exe
2020-10-31
IPP使用手册,intel
2016-07-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人