[置顶] Tensorflow学习资源

摘要: https://tensorflow.google.cn/ 中文官网 https://www.w3cschool.cn/tensorflow_python/tensorflow_python-gnwm2c68.html [1] 安装Tensorflow(Linux ubuntu) http://bl 阅读全文

posted @ 2017-11-16 19:03 Maddock 阅读(684) 评论(0) 推荐(0) 编辑

[置顶] 编程工具使用技巧

摘要: VS 笔记(1) 在VS2008中,选定代码后,按Ctrl+K+F组合键,可以自动进行代码对齐。 注意:要先按下Ctrl和K,再按下F,因为Ctrl+F是查找的快捷键。 也可以先按下Ctrl+K,再按下Ctrl+F。 另外,可以在“工具->选项->文本编辑器->C/C++->制表符”选项卡中设置缩进 阅读全文

posted @ 2017-08-28 13:56 Maddock 阅读(204) 评论(0) 推荐(0) 编辑

[置顶] 博客链接

摘要: 一 IT科技博客 月光博客:http://www.williamlong.info/ pingwest: http://www.pingwest.com/ 博客园:http://www.ituring.com.cn/ 博客园_C++: http://www.cppblog.com/ V2EX :ht 阅读全文

posted @ 2015-10-01 13:37 Maddock 阅读(250) 评论(0) 推荐(0) 编辑

[置顶] python学习笔记

摘要: Author: maddock Date: 2015-03-15 21:42:01 (暂时没有整理) python json文件处理 #coding:utf-8 import json # data = [ { 'a' : 1, 'b' : 2, 'c' : 3, 'd' : 4, 'e' : 5 阅读全文

posted @ 2015-03-15 21:45 Maddock 阅读(568) 评论(0) 推荐(0) 编辑

[置顶] 访问中介

摘要: http://blog.csdn.net/scottly1/article/details/42705271http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1335420&url=http%3A%2F%2Fieeexplore.ieee.o... 阅读全文

posted @ 2015-02-11 15:08 Maddock 阅读(347) 评论(0) 推荐(0) 编辑

2023年9月12日

sub2ind 将下标转换为线性索引

摘要: https://ww2.mathworks.cn/help/matlab/ref/sub2ind.html 阅读全文

posted @ 2023-09-12 09:32 Maddock 阅读(7) 评论(0) 推荐(0) 编辑

2022年5月12日

matlab读取二进制数据到图像矩阵

摘要: clear all fid=fopen('./dumpdata/100_mask_224x224.gray','rb'); num = 224*224; [row_array, ele_count]=fread(fid,num,'uint8'); fclose(fid); a=reshape(row 阅读全文

posted @ 2022-05-12 10:00 Maddock 阅读(227) 评论(0) 推荐(0) 编辑

2021年8月19日

通过 void *handel传到参数

摘要: 通过 void *handel传到参数 typedef struct { int a; uchar *ptr; }EffectParam; void fun(void* handle) { //if (handle != NULL) //{ // cout << "handle " << handl 阅读全文

posted @ 2021-08-19 15:04 Maddock 阅读(125) 评论(0) 推荐(0) 编辑

2020年11月24日

while循环中使用输出语句停止死循环的原因

摘要: while循环中使用输出语句停止死循环的原因 https://blog.csdn.net/Ditto_zhou/article/details/83751386 直接看代码 public class WhileTest { private boolean flag = true; public vo 阅读全文

posted @ 2020-11-24 09:04 Maddock 阅读(818) 评论(0) 推荐(0) 编辑

2020年8月14日

opencv rgb转YUV公式

摘要: https://docs.opencv.org/master/de/d25/imgproc_color_conversions.html#color_convert_rgb_ycrcb RGB ↔ YCrCb JPEG (or YCC) Y←0.299⋅R+0.587⋅G+0.114⋅B Cr←(R 阅读全文

posted @ 2020-08-14 11:04 Maddock 阅读(1561) 评论(0) 推荐(0) 编辑

2020年8月4日

画出直线,找出直线经过的图像坐标

摘要: https://www.cnblogs.com/ImageVision/archive/2012/11/17/2775196.html % 画出直线,找出直线经过的图像坐标 x1 = 10; x2 = 50; y1 = 15; y2 = 40; figure; hold on plot([x1 x2 阅读全文

posted @ 2020-08-04 16:40 Maddock 阅读(481) 评论(0) 推荐(0) 编辑

2020年7月25日

MFC 对话框图片上,鼠标拖动画矩形框

摘要: 参考 https://blog.csdn.net/chenjie863/article/details/17531339 未实验 https://blog.csdn.net/bsnry/article/details/8484047 https://blog.csdn.net/xvdongming/ 阅读全文

posted @ 2020-07-25 13:12 Maddock 阅读(1306) 评论(0) 推荐(0) 编辑

2020年7月24日

MFC知识点整理

摘要: 【MFC】CString 与 string 间的转换 WeiGordon 2019-05-22 15:28:58 16570 收藏 39分类专栏: MFC C++版权宽字节字符集(Unicode)、多字节字符集(Multi-Byte) 自适应转换:CString 转 string CString c 阅读全文

posted @ 2020-07-24 16:12 Maddock 阅读(847) 评论(0) 推荐(0) 编辑

2020年7月21日

mfc +opencv 读取图片显示到对话框

摘要: int ShowMat(cv::Mat img, HWND hWndDisplay) { if (img.channels() < 3) { return -1; } //构造将要显示的Mat版本图片 RECT rect; ::GetClientRect(hWndDisplay, &rect); c 阅读全文

posted @ 2020-07-21 17:40 Maddock 阅读(1137) 评论(0) 推荐(0) 编辑

python 获取系统时间,新建时间目录

摘要: import datetime import os theTime = datetime.datetime.now() print(theTime) theTime = str(theTime) date_split = theTime.strip().split(' ') date_today = 阅读全文

posted @ 2020-07-21 09:22 Maddock 阅读(396) 评论(0) 推荐(0) 编辑

导航