会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
牛郎
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
20
下一页
2020年3月24日
git本地仓库关联远程仓库
摘要: 初始化仓库 git remote add origin git@github.com:han1202012/TabHost_Test.git 拉取远程仓库内容
阅读全文
posted @ 2020-03-24 16:30 牛郎
阅读(358)
评论(0)
推荐(0)
2020年3月19日
python+opencv切割细胞及细胞团(持续更新)
摘要: 内容包括:游离细胞的切割,有效细胞的信息提取,找出非正常细胞,细胞团的切割,找出非正常细胞团 代码较多,请移步到我的github
阅读全文
posted @ 2020-03-19 14:03 牛郎
阅读(1753)
评论(0)
推荐(0)
2020年1月19日
python计算矩阵均匀分布程度
摘要: 计算N×M(建议维度大于100*100)的0,1矩阵均匀分布程度,值由0到1表示不均匀到均匀 import numpy as np def make_rand_matrix(side=20): # 制作随机矩阵,用于测试 a = np.random.random((side,side)) for i
阅读全文
posted @ 2020-01-19 17:10 牛郎
阅读(1458)
评论(0)
推荐(0)
2020年1月17日
git创建新的独立分支
摘要: https://www.cnblogs.com/52liming/p/9535477.html
阅读全文
posted @ 2020-01-17 14:34 牛郎
阅读(601)
评论(0)
推荐(0)
2020年1月16日
linux版本百度网盘只能登录一次的解决方法
摘要: rm -rf ~/baidunetdisk 重新启动百度网盘,解决~
阅读全文
posted @ 2020-01-16 11:21 牛郎
阅读(335)
评论(0)
推荐(0)
2020年1月15日
python检测“无内容”图片
摘要: 思路1:通过图像熵检测,“无内容”图像熵较小,可通过设置阈值检测“无内容”图像,计算图像熵可参考:https://www.cnblogs.com/niulang/p/12195152.html 思路2:检测图像中连通区域个数和面积 思路2代码: import cv2 import numpy as
阅读全文
posted @ 2020-01-15 15:58 牛郎
阅读(695)
评论(0)
推荐(0)
python计算图像信息熵
摘要: import cv2 import numpy as np import math import time def get_entropy(img_): x, y = img_.shape[0:2] img_ = cv2.resize(img_, (100, 100)) # 缩小的目的是加快计算速度
阅读全文
posted @ 2020-01-15 09:44 牛郎
阅读(7931)
评论(0)
推荐(0)
python+opencv实现图像缩放
摘要: x, y = img_.shape[0:2] img_ = cv2.resize(img_, (int(y/2), int(x/2))) 实现图像长宽缩小为原来的一半
阅读全文
posted @ 2020-01-15 09:42 牛郎
阅读(1423)
评论(0)
推荐(0)
2020年1月2日
vim 常用指令-持续更新
摘要: 1. 查询文件夹file1内文件数量:ls file1 | wc -l 2. 生成文件夹file1内的文件列表:find file1 -type f > list.txt 3. git管理文件,制作删除文件列表:git status | grep "删除" > list.txt 4. 生成file1
阅读全文
posted @ 2020-01-02 10:45 牛郎
阅读(162)
评论(0)
推荐(0)
2019年12月31日
python实现简单的SVM
摘要: # -*- coding: utf-8 -*- from sklearn.svm import SVC import numpy as np print(X.shape,Y.shape) X = np.random.random((10,5)) #训练数据 Y = np.array([1,0,1,0
阅读全文
posted @ 2019-12-31 16:44 牛郎
阅读(872)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
20
下一页
公告