码迷,mamicode.com
首页 >  
搜索关键字:graph cut    ( 8632个结果
sort-uniq-cut-join命令练习
[root@linux Desktop]# cat> fruits.txtbananaorangepersimmon%%bananaappleORAGE cat> fruits.txt按ctrl d结束fruits.txt的输入[root@linux Desktop]# cat fruits.txt...
分类:其他好文   时间:2015-04-25 00:03:40    阅读次数:176
php自动添加相关文章
{pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="20" order="id desc" keywords="$rs[keywords]"}{loop $data $r}{str_cut($...
分类:Web程序   时间:2015-04-24 20:46:47    阅读次数:137
Linux系统资源及账户安全监测脚本
#!/bin/bash #Createdbyliteron2014/7/11 PATH=/opt/jdk1.6.0_45/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin exportPATH #CPUINFO id_cpu=`top-b-d2-n10|grepCpu|grep-vgrep|cut-d‘,‘-f4|tr-d-c‘0-9.\n‘|sort-n|head-n1` use_cpu=`echo"1..
分类:系统相关   时间:2015-04-23 00:11:55    阅读次数:223
ubuntu下仅仅获取网卡一的ip地址 && shell中字符串拼接
问题描述: ubuntu下仅仅获取网卡一的ip地址问题背景: eth0,eth1,eth2……代表网卡一,网卡二,网卡三…… lo代表127.0.0.1,即localhostsudo ifconfig eth0 | grep 'inet addr' | cut -d : -f 2 | cut ...
分类:系统相关   时间:2015-04-22 20:17:12    阅读次数:143
Clone Graph
https://leetcode.com/problems/clone-graph/Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected ...
分类:其他好文   时间:2015-04-22 17:38:19    阅读次数:117
[BZOJ 3282] Tree 【LCT】
题目链接:BZOJ - 3282题目分析这道题是裸的LCT,包含 Link , Cut 和询问两点之间的路径信息。写代码时出现的错误:Access(x) 的循环中应该切断的是原来的 Son[x][1] ,然而我写成了 Son[x][0] !代码#include #include #include #...
分类:其他好文   时间:2015-04-22 11:14:53    阅读次数:157
第四届华中区程序设计邀请赛暨武汉大学第十三届校赛 网络预选赛 Problem 1566 - C - Spanning Tree
Description You are given a graph with N nodes and M edges.  Then every time you are required to add an additional edge with weight Wi connecting the node Ai and Bi in the graph, and then calculat...
分类:其他好文   时间:2015-04-22 09:40:45    阅读次数:140
[BZOJ 2049] [Sdoi2008] Cave 洞穴勘测 【LCT】
题目链接:BZOJ - 2049题目分析LCT的基本模型,包括 Link ,Cut 操作和判断两个点是否在同一棵树内。Link(x, y) : Make_Root(x); Splay(x); Father[x] = y;Cut(x, y) : Make_Root(x); Access(y); 断掉 ...
分类:其他好文   时间:2015-04-21 22:26:35    阅读次数:197
Grab Cut学习理解之(3)opencv-grab cut
Graph Cut的目标和背景的模型是灰度直方图,Grab Cut取代为RGB三通道的混合高斯模型GMM;建立模型是为了计算一个像素点分别属于目标和背景的概率,介个是为了建图的时候确定Gibbs能量的区域能量项,即图的t-link的权值。 3.1T-Link 单分布高斯背景模型认为,对一个背景图像,特定像素亮度的分布满足高斯分布,即对背景图像B,(x,y)点的亮度满足:IB(x,y) ~ N(...
分类:其他好文   时间:2015-04-21 18:13:24    阅读次数:388
Grab Cut学习理解之(1)new min-cut /max-flow algorithm
参(chao)考(xi)的资料还是很多的,好好学习,天天向上嘛~ 1.swsamleo大神:http://blog.csdn.net/swsamleo/article/details/7915316 2.wstcegg大神:http://blog.csdn.net/wstcegg/article/details/39495535 3.zouxy09大神图像分割系列:http://...
分类:其他好文   时间:2015-04-21 16:11:14    阅读次数:332
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!