
C++
qq_40579095
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
二叉树的遍历
头文件 #ifndef TEST_H_INCLUDED #define TEST_H_INCLUDED typedef int ElemType; typedef short int Bool; //二叉树的链式存储结构 class BiTreeNode { private: typedef BiTreeNode * TreeNodePtr; ElemType m_da...原创 2018-09-09 18:57:41 · 166 阅读 · 0 评论 -
Huffman编码和解码
头文件 #ifndef TEST_H_INCLUDED #define TEST_H_INCLUDED typedef short int Bool; class HuffmanTreeNode{ private: float m_weight; short int m_parent, m_lchild, m_rchild; public: void SetW...原创 2018-09-12 12:30:00 · 805 阅读 · 0 评论 -
opencv实现图像DFT
#include <iostream> #include <opencv2/opencv.hpp> #include <vector> using namespace cv; using namespace std; int main() { Mat img = imread("city.jpg", 0); //转换为32位浮点型 img.conver...原创 2019-06-01 12:56:13 · 691 阅读 · 0 评论 -
线性滤波、非线性滤波、形态学滤波
#include <iostream> #include <opencv2/opencv.hpp> #include <vector> using namespace cv; using namespace std; int main() { Mat image = imread("city.jpg"); imshow("原图", image); Ma...原创 2019-06-01 20:48:24 · 574 阅读 · 0 评论