ORB-SLAM2 from theory to code implementation: ORB feature extraction and matching theory and code explanation

1. Theoretical knowledge Feature points are composed of key points and descriptors. ORB feature points (Oriented FAST and Rotated BRIEF) are composed of Oriented FAST corner points and BRIEF (binary robot independent elemental features) descriptors. Its calculation speed is 100 times that of sift feature points and 10 times that of surf featur ...

Added by frans-jan on Fri, 18 Feb 2022 12:23:25 +0200

Knapsack problem

knapsack problem Given a group of items, each item has its own weight value. Within the limited weight, how can we choose to maximize the total value. Three kinds of backpacks 1. 01 backpack: each item can only be selected once 2. Complete backpack: there is no limit to the number of choices for each item 3. Multiple backpacks: each item ca ...

Added by christian_phpbeginner on Fri, 18 Feb 2022 10:56:02 +0200

LeetCode data structure and algorithm learning Day02

Title quoted from https://leetcode-cn.com/ Graphic data structure and algorithm Daily learning Day02 learning notes 20 numeric values represent strings Title Description: Please implement a function to judge whether the string represents a numeric value (including integer and decimal). The values (in order) can be divided into th ...

Added by WebMonkey on Fri, 18 Feb 2022 10:11:50 +0200

LeetCode notes: Weekly Contest 238

LeetCode notes: Weekly Contest 238 0. Post game summary1. Topic 1 1. Problem solving ideas2. Code implementation 2. Topic 2 1. Problem solving ideas2. Code implementation 3. Topic 3 1. Problem solving ideas2. Code implementation3. Algorithm optimization 4. Topic 4 1. Problem solving ideas2. Code implementation 0. Pos ...

Added by peterj on Fri, 18 Feb 2022 08:11:32 +0200

Algorithm design and analysis -- traveling sales problem -- code analysis and explanation

Problem description A salesperson wants to sell goods in four cities. The distance between cities is known, as shown in the right figure. How should he choose a route starting from city 1, passing through each city and finally returning to city 1, so as to minimize the total travel distance? Train of thought analysis Determine the so ...

Added by tomo11 on Fri, 18 Feb 2022 02:30:27 +0200

Ten classical sorting algorithms

introduction: Sorting algorithm is one of the most basic algorithms in data structure and algorithm. Here are ten classic sorting algorithms to explain. Taoist friends who don't know can come here to sweep away their blindness. From "rookie tutorial". explain    sorting algorithms can be divided into internal sorting ...

Added by Cloud9247 on Fri, 18 Feb 2022 00:03:49 +0200

Analysis of minimax search algorithm and α-β Pruning algorithm (with case and complete code)

preface First I did a small project of Gobang, and then I did a more powerful project of Chinese chess, but I never realized a version of "intelligent" AI. It is well known that the bottom layer of ai algorithm for this kind of game problem is to use minimax search algorithm and α-β Pruning pruning optimization, but I ...

Added by kippi on Thu, 17 Feb 2022 22:16:51 +0200

[historical legacy] there are also records: HDOJ - brush questions md

HDOJ travel [by_041] There was once a preface catalogue ACM Steps Chapter One - phase 1 Section One - basic input and output It is a summary of the input and output of the classic ACM competition P1089: multiple groups of data, one group occupies one line, with two numbers until the end of EOFWhile (CIN > > a ...

Added by dico on Thu, 17 Feb 2022 21:11:01 +0200

Basic Algorithms Quick Sort, Merge Sort, Binary

[Algorithmic Basics Lesson] 1. Basic Algorithms (Top)] Quick Sort, Merge Sort, Binary 1. Basic Algorithms (Top) 1.1 Quick Sort step Determine the demarcation point: x = q[l] / x = q[(l + r) / 2] / x = q[r] / randomAdjust range: Recursive processing on left and right ends Template void quick_sort(int q[], int l, int r) { if ( ...

Added by bedrosamo on Thu, 17 Feb 2022 20:37:59 +0200

2020 ICPC Liaoning competition - longest palindrome string (Java)

Title Description Link: ICPC Liaoning replay Title Description: Palindrome string is a string that is exactly the same as itself after inversion For example: "ABA", "ACMMCA", "A". Given a series of strings with the same length, please perform the following operations in order to construct the longest palindro ...

Added by danleighton on Thu, 17 Feb 2022 20:23:32 +0200