自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (1)
  • 收藏
  • 关注

原创 utf-8 字符串转 unicode 字符串

utf-8编码简介utf-8编码是一种变长编码, 中文字符用三个byte来存储,而编码范围在 0 到 0x7f 则使用1个字节存储 Number of bytes Bits for code point First code point Last code point Byte1 Byte2 Byte3 Byte4 1 7 U+0000...

2018-06-07 14:27:13 5421 1

原创 在OpenCV中绘制数组,也就是一些hist 统计的东东

#include <opencv2/opencv.hpp>float getMaxVal(const std::vector<int>& vec){ float tmp_v = vec[0]; for (int i = 0; i < vec.size(); i++) { if (vec[i] > tmp_v) {...

2018-03-23 14:13:46 708

原创 字符串转数字

/*--------------------------------------------------------------------- the main purpose is speed up the app---------------------------------------------------------------------*/in

2017-12-05 15:07:49 243

原创 CString 转 char *

int WtoAsc(char * dst, CString &src){ int j = 0; for (; j < src.GetLength(); j++) { dst[j] = (char)(src.GetAt(j) & 0xff); } dst[j] = 0; return 0;}

2017-10-13 10:31:40 199

原创 一个计时类,可以同时用在windows 和 linux 环境下

一个计时类,可以同时用在windows 和 linux 环境下local_timer.h#ifndef LOCAL_TIMER_H#define LOCAL_TIMER_H#include <time.h>#ifdef LINUX#include <sys/time.h>#else#include <windows.h>#endifclass local_timer{private:

2015-09-10 16:14:06 373

原创 ffmpeg 视频格式转换

在进行图形图像分析的时候,我们往往需要把视频转换为yuv 格式或者单通道灰度图像,ffmpeg 就显得很方便了以下我将示范几个用法用法1. mp4 转换为 gray ,单通道的, 图像大小640*480, 总共500帧F:\video>ffmpeg.exe -i 20120730_051556_N.mp4  -pix_fmt gray -s 640*480 -frames 50

2015-09-08 10:17:09 1442

原创 ffmpeg 详细命令列表

1.  如何获取详细命令列表     按如下格式输入 ffmpeg.exe -h full >> x.txt,  即可获取到详细命令格式列表2. 命令如下Hyper fast Audio and Video encoderusage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] ou

2015-09-07 16:32:14 2482

canny 算法和 hough 变换实现

canny 算法和 hough 变换实现

2013-03-21

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除