[Data structure binary tree] Pre-order level establishment, recursive non-recursive traversal, level-order traversal, tree height, mirror, symmetry, subtree, merge, target path, weighted path sum, etc.

Binary tree Article directory Binary tree 1. Creation of binary tree (recursive creation, structure pointer form) 1.1. Preorder establishment 1.2. Establishment of layer sequence 2. Recursive traversal (structure pointer) 2.1. Preorder traversal 2.2. In-order traversal 2.3. Postorder traversal 3. Non-recursive traversal (structure pointer) 3.1. Level traversal 3.2. Postorder traversal (non-recursive) 4. Find the height of […]

3D cephalometric scheme for accurately quantifying craniofacial symmetry and facial growth (Matlab code implementation)

Welcome to this blog Advantages of bloggers:Blog content should be as thoughtful and logical as possible for the convenience of readers. Motto:He who travels a hundred miles is half as good as ninety. The directory of this article is as follows: Table of Contents 1 Overview 2 Operation results 3 References 4 Matlab code, data, […]

[Algorithm Training – Binary Tree 4] [Symmetry and Flip] Symmetric Binary Tree, Flip Binary Tree

Without further ado, just shout a slogan to encourage yourself: Programmers will never be unemployed, programmers go to architecture! The theme of this blog is [morphological changes of binary trees], which is implemented using the basic data structure [binary tree]. The website for this high-frequency question is: CodeTop, and the filtering conditions are: Target company […]

3D cephalometric scheme for accurately quantifying craniofacial symmetry and facial growth (Matlab code implementation)

Welcome to this blog Advantages of bloggers:Blog content should be as thoughtful and logical as possible for the convenience of readers. Motto:He who travels a hundred miles is half as good as ninety. The directory of this article is as follows: Table of Contents 1 Overview 2 Operation results 3 References 4 Matlab code, data, […]

3D cephalometric scheme for accurately quantifying craniofacial symmetry and facial growth (Matlab code implementation)

Welcome to this blog Advantages of bloggers:Blog content should be as thoughtful and logical as possible for the convenience of readers. Motto:He who travels a hundred miles is half as good as ninety. The directory of this article is as follows: Table of Contents 1 Overview 2 Operation results 3 References 4 Matlab code, data, […]

Properties of Binary Tree (1) – Symmetry Judgment

Recursive method, stack, queue to achieve symmetric judgment of binary tree train of thought recursive method recursive trilogy Iterative method use queue use stack Summarize Thoughts 1. Recursion: post-order, comparing whether the left subtree and right subtree of the root node are inverted 2. Iteration: use the queue/stack to put the two nodes into the […]

TSception: Capturing Temporal Dynamics and Spatial Asymmetry from EEG for Emotion Recognition

TSception: Capturing Temporal Dynamics and Spatial Asymmetry from EEG for Emotion Recognition (Paper Reproduction) Summary model structure Code write at the end **This is a code reproduction. The original text is implemented by Pytorch. In this article, Keras is used to reproduce the structure. **This paper was published in IEEE Transactions on Affective Computing, first […]

ES6D: Exploiting Symmetry for Efficient 6D Pose Detection

Using Symmetry for Efficient 6D Pose Detection This article refers to this article from CVPR2022: ES6D: A Computation Efficient and Symmetry-Aware 6D Pose Regression Framework The Github link is: https://github.com/GANWANSHUI/ES6D Introduction In 6D attitude detection, some symmetrical objects, such as balls, discs, etc., have multiple equivalent attitudes So can this symmetry be used to improve […]