C++
文章平均质量分 86
mathnan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
OpenVX编程笔记(一)
1. 基本概念 1.1 OpenVX 应用目标 real time computing on low power platforms high-level abstraction for heterogeneous platforms 2. OpenVX对象 2.1 data objects 数据访问 OpenVX通过map和unmap函数实现可以在CPU memory(host memory)和accelerator memory之间进行数据移动。例如:`vxMapImagePatc..原创 2022-02-21 16:09:32 · 1246 阅读 · 0 评论 -
OpenVX编程笔记(二)
第一个VX程序 1. example1.c 该例子使用*Immediate模式*,对一幅图像进行fast corner提取。 具体程序功能说明请见*程序*注释。 2. 例子总结 2.1代码结构: 首先生成一幅100x100的image并设置为黑色,然后从中间设置一个60x20的roi设置为白色。 通过immediate mode模式调用VX的fast corner算法获取角点并输出。 2.2使用到的VX对象总结: vxCreateContext() 生成一个vx_context对象..原创 2022-02-21 16:03:02 · 1248 阅读 · 1 评论 -
Leetcode C++ 递归&回溯
Leetcode C++ 二叉树&递归Leetecode 17 Leetecode 17 17. Letter Combinations of a Phone Number Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. A mapp原创 2021-03-22 10:46:03 · 317 阅读 · 0 评论 -
Leetcode C++ 二叉树&递归
Leetcode C++ 二叉树&递归Leetecode 104 Leetecode 104 104. Maximum Depth of Binary Tree Given the root of a binary tree, return its maximum depth. A binary tree’s maximum depth is the number of nodes along the longest path from the root node down to the fart原创 2021-03-02 09:51:41 · 358 阅读 · 0 评论 -
Leetcode C++ 队列
Leetcode C++ 队列Leetecode 102 Leetecode 102 102. Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). 思路: 二叉树的宽度优先遍历(BFS问题)。有两种思路,递归和迭代。 递归: 迭代: .原创 2021-02-04 10:22:28 · 233 阅读 · 0 评论
分享