//向后匹配String a = "I paid $90 for 10 oranges, 12 pears and 8 apples. I saved $5 on "; Pattern p = Pattern.compile("(?<=\\$)\\d+"); Matcher m = p.ma...
分类:
编程语言 时间:
2014-07-09 23:18:56
阅读次数:
455
策略模式(Strategy Pattern) 具体解释本文地址:http://blog.csdn.net/caroline_wendy/article/details/26577879本文版权全部, 禁止转载, 如有须要, 请站内联系.策略模式: 定义了算法族, 分别封装起来, 让它们之间能够相互替...
分类:
其他好文 时间:
2014-07-09 23:14:08
阅读次数:
227
Bash Shell有个extglob选项。开启后Shell可以 另外识别出5个模式匹配操作符,能使文件匹配更加方便 。开启的方法:使用shopt命令:shopt -s extglob关闭的方法: shopt -u extglob开启后,以下5个模式匹配操作符将被识别:?(pattern-lis.....
分类:
其他好文 时间:
2014-07-08 23:26:36
阅读次数:
269
今天看的文章题目是《A Gamma-Gaussian Mixture Model for Detection of Mitotic Cells in Breast Cancer Histopathology Images》
原理:先分割出肿瘤区域,然后在肿瘤区域使用Gamma-Gaussian混合模型检测有丝分裂细胞,最后使用svm分类器减少检测错误。
步骤:
1、因为有丝分裂大多是发生在肿...
分类:
其他好文 时间:
2014-07-08 20:06:36
阅读次数:
219
Singleton is one design pattern in the software engineering. Ruby has its own special feature to declare singleton class...
分类:
其他好文 时间:
2014-07-08 18:05:25
阅读次数:
213
The string "PAYPALISHIRING" is written in a zigzag pattern on a given
number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A P L S I...
分类:
其他好文 时间:
2014-07-08 17:42:31
阅读次数:
192
文章题目是《Learning-based mitotic cell detection in histopathological images》
原理:分为个步骤,第一,分割出候选有丝分裂细胞;第二,利用纹理等特征检测出有丝分裂细胞。
这篇文章读起来挺简单的,都是我们所熟悉的,本文使用了两个开源工具,”ilastik”和”CellCognition” 。
1、分割出候选有丝分裂细胞
一个基...
分类:
其他好文 时间:
2014-07-08 14:52:28
阅读次数:
239
访问者模式(Visitor Pattern)是GoF提出的23种设计模式中的一种,属于行为模式。
据《大话设计模式》中说算是最复杂也是最难以理解的一种模式了。
定义(源于GoF《Design Pattern》):表示一个作用于某对象结构中的各元素的操作。它使你可以在
不改变各元素类的前提下定义作用于这些元素的新操作。从定义可以看出结构对象是使用访问者模式必备
条件,而且这个结构对象必...
分类:
其他好文 时间:
2014-07-08 14:01:22
阅读次数:
156
1、org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter准备和执行
2、
struts2
/*
url-pattern约定熟成只写/*,没必要写*.action
3、
/Hello.jsp
...
分类:
Web程序 时间:
2014-07-06 11:45:18
阅读次数:
192
组合模式(composite pattern) 详解本文地址: http://blog.csdn.net/caroline_wendy组合模式:...
分类:
其他好文 时间:
2014-07-06 10:13:41
阅读次数:
163