在以前介绍IplImage结构的时候,有一个重要的参数——ROI。ROI全称是”Region Of Interest”,即感兴趣的区域。实际上,它是IPL/IPP(这两个是Inter的库)结构IplROI的实例。IplROI包含xOffset、yOffset、height、width和coi成员变量...
分类:
其他好文 时间:
2014-10-10 07:50:44
阅读次数:
236
Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.A region is captured by flipping all 'O's into 'X's in that surrounded ...
分类:
其他好文 时间:
2014-10-10 06:05:44
阅读次数:
238
本文的顺序是层层深入的,要想简单的了解,只看X.1 初探Block就好了本章学习目标:1. 了解何谓block。2. 了解block的使用方法。Block 是iOS在4.0之后新增的程式语法,严格来说block的概念并不算是基础程式设计的范围,对初学者来说也不是很容易了解,但是在iOS SDK 4....
分类:
移动开发 时间:
2014-10-10 04:29:14
阅读次数:
229
之前写过一个关于 MAXScript 中文路径返回上级目录的博文今天无意中发现了一个更简单的方法代码如下:fn newfile filepath = (nf = getfilenamepath filepathnf[nf.count] = ""nf) --返回上级路径newpath "D:\Prog...
分类:
其他好文 时间:
2014-10-10 03:53:53
阅读次数:
323
??
1查询工资比scott高的员工信息
A
第一步:查询出scott这个员工的工资
select sal from emp
where ename = 'SCOTT';
B
第二步:查询出工资比scott高的员工信息
select * fromemp
where sal >3000;
总结:
子查...
分类:
其他好文 时间:
2014-10-10 03:40:44
阅读次数:
326
#include #include #include //#include #define SYNC 0x40#define PARITY_EVEN 0x20#define PARITY_ODD 0x30#define STOP_2 0x04#define DATA_5 0x00#define DA...
分类:
数据库 时间:
2014-10-10 03:19:44
阅读次数:
300
??
1组函数 avg(),sum(),max(),min(),count()案例:
selectavg(sal),sum(sal),max(sal),min(sal),count(sal)
from emp
/
截图:
2
组函数和null在一起
案例:求员工的平均奖金
错误sql:
select avg(comm)
方式1,...
分类:
数据库 时间:
2014-10-10 03:08:32
阅读次数:
540
import java.util.Scanner;/* * * ==================冒泡 排序 */public class BubbleSort { public static void main(String[] args) { Scanner scanne...
分类:
其他好文 时间:
2014-10-10 02:31:03
阅读次数:
151
??
1
笛卡尔集基本原理
两个表如果笛卡尔集运算
(1)行数是两个表行数相乘的结果
(2)列是两个表合集
案例:
错误查询方式:
select count(e.EMPNO)
from emp e,dept d;
正确查询方式:
select count(e.EMPNO)
from emp e,dept d
wher...
分类:
其他好文 时间:
2014-10-10 02:18:04
阅读次数:
225