Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
f9753a5a
O
Opencv
项目概览
Greenplum
/
Opencv
11 个月 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f9753a5a
编写于
10月 21, 2010
作者:
I
Ilya Lysenkov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Inserted links to wiki in documentation.
上级
8ff0d754
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
37 addition
and
8 deletion
+37
-8
doc/latex2sphinx/latex.py
doc/latex2sphinx/latex.py
+16
-0
doc/opencv.sty
doc/opencv.sty
+12
-8
doc/opencvref_body.tex
doc/opencvref_body.tex
+9
-0
未找到文件。
doc/latex2sphinx/latex.py
浏览文件 @
f9753a5a
...
...
@@ -51,6 +51,7 @@ class SphinxWriter:
self
.
function_props
=
{}
self
.
covered
=
set
()
# covered functions, used for error report
self
.
description
=
""
self
.
cur_module
=
""
def
write
(
self
,
s
):
self
.
freshline
=
len
(
s
)
>
0
and
(
s
[
-
1
]
==
'
\n
'
)
...
...
@@ -144,6 +145,15 @@ class SphinxWriter:
filename
=
os
.
path
.
join
(
'..'
,
'..'
,
str
(
c
.
params
[
0
]))
print
>>
self
,
"
\n\n
.. image:: %s
\n\n
"
%
filename
def
cmd_renewcommand
(
self
,
c
):
self
.
indent
=
0
command
=
self
.
render
(
c
.
params
[
0
].
str
)
if
command
==
'curModule'
:
self
.
cur_module
=
self
.
render
(
c
.
params
[
1
].
str
)
def
wikiLink
(
self
,
name
):
return
'*Comments on* `wiki <http://opencv.willowgarage.com/wiki/documentation/%s/%s/%s>`__'
%
(
self
.
language
,
self
.
cur_module
,
name
)
def
cmd_cvCppCross
(
self
,
c
):
self
.
write
(
":func:`%s`"
%
str
(
c
.
params
[
0
]))
...
...
@@ -165,6 +175,8 @@ class SphinxWriter:
print
>>
self
,
nm
print
>>
self
,
'-'
*
len
(
nm
)
print
>>
self
print
>>
self
,
self
.
wikiLink
(
nm
)
print
>>
self
if
self
.
language
==
'py'
:
print
>>
self
,
".. class:: "
+
nm
+
"
\n
"
else
:
...
...
@@ -201,6 +213,8 @@ class SphinxWriter:
print
>>
self
,
nm
print
>>
self
,
'-'
*
len
(
nm
)
print
>>
self
print
>>
self
,
self
.
wikiLink
(
nm
)
print
>>
self
self
.
state
=
'fpreamble'
if
self
.
description
!=
""
:
self
.
report_error
(
c
,
"overflow - preceding cvfunc (starting %s) not terminated?"
%
repr
(
self
.
description
[:
30
]))
...
...
@@ -220,6 +234,8 @@ class SphinxWriter:
print
>>
self
,
'cv::%s'
%
nm
print
>>
self
,
'-'
*
(
4
+
len
(
nm
))
print
>>
self
print
>>
self
,
self
.
wikiLink
(
nm
)
print
>>
self
self
.
state
=
'fpreamble'
if
self
.
description
!=
""
:
self
.
report_error
(
c
,
"overflow - preceding cvfunc (starting %s) not terminated?"
%
repr
(
self
.
description
[:
30
]))
...
...
doc/opencv.sty
浏览文件 @
f9753a5a
...
...
@@ -19,34 +19,37 @@ showtabs=false, % show tabs within strings adding particular und
%escapeinside={\%*}{*)} % if you want to add a comment within your code
}
\newcommand
{
\wikiHref
}
[1]
{
\hspace
{
0.1in
}
\href
{
http://opencv.willowgarage.com/wiki/documentation/
\targetlang
/
\curModule
/#1
}{
wiki
}}
\newcommand
{
\curModule
}{}
\newcommand
{
\cvclass
}
[1]
{
\ifthenelse
{
\equal
{
\targetlang
}{
cpp
}}
{
\subsection
{
cv::#1
}
\subsection
[cv::#1]
{
cv::#1
\wikiHref
{
#1
}
}
%\addcontentsline{toc}{subsection}{#1}
\index
{
cv...!#1
}
}
{
\subsection
{
#1
}
\subsection
[#1]
{
#1
\wikiHref
{
#1
}
}
%\addcontentsline{toc}{subsection}{#1}
\index
{
cv...!#1
}
}
}
\newcommand
{
\cvfunc
}
[1]
{
\subsection
{
#1
}
\subsection
[#1]
{
#1
\wikiHref
{
#1
}
}
%\addcontentsline{toc}{subsection}{#1}
\index
{
cv...!#1
}
}
\newcommand
{
\cvstruct
}
[1]
{
\subsection
{
#1
}
\subsection
[#1]
{
#1
\wikiHref
{
#1
}
}
%\addcontentsline{toc}{subsection}{#1}
\index
{
cv...!#1
}
}
\newcommand
{
\cvmacro
}
[1]
{
\subsection
{
#1
}
\subsection
[#1]
{
#1
\wikiHref
{
#1
}
}
%\addcontentsline{toc}{subsection}{#1}
\index
{
cv...!#1
}
}
...
...
@@ -55,12 +58,13 @@ showtabs=false, % show tabs within strings adding particular und
\item
[\texttt{#1}]
#2
}
\newcommand
{
\cvFunc
}
[2]
{
\ifthenelse
{
\equal
{
\targetlang
}{
c
}}
{
\subsection
{
cv#1
}
\index
{
cv#1
}
\label
{
cfunc.#1
}}
{
\subsection
[cv::#1]
{
cv#1
\wikiHref
{
#1
}
}
\index
{
cv#1
}
\label
{
cfunc.#1
}}
{
\ifthenelse
{
\equal
{
\targetlang
}{
cpp
}}
{
\subsection
{
cv::#2
}
\index
{
cv::#2
}
\label
{
cppfunc.#2
}}
{
\subsection
{
cv.#1
}
\index
{
cv.#1
}
\label
{
pyfunc.#1
}}}}
{
\subsection
[cv::#2]
{
cv::#2
\wikiHref
{
#2
}
}
\index
{
cv::#2
}
\label
{
cppfunc.#2
}}
{
\subsection
[cv::#1]
{
cv.#1
\wikiHref
{
#1
}
}
\index
{
cv.#1
}
\label
{
pyfunc.#1
}}}}
\newcommand
{
\cvCPyFunc
}
[1]
{
\cvFunc
{
#1
}{}}
\newcommand
{
\cvCppFunc
}
[1]
{
\cvFunc
{}{
#1
}}
...
...
doc/opencvref_body.tex
浏览文件 @
f9753a5a
\input
{
core
_
introduction
}
\chapter
{
core. The Core Functionality
}
\renewcommand
{
\curModule
}{
core
}
\input
{
core
_
basic
_
structures
}
\input
{
core
_
array
_
operations
}
\input
{
core
_
dynamic
_
structures
}
...
...
@@ -11,6 +12,7 @@
\chapter
{
imgproc. Image Processing
}
\renewcommand
{
\curModule
}{
imgproc
}
\input
{
imgproc
_
histograms
}
\input
{
imgproc
_
image
_
filtering
}
\input
{
imgproc
_
image
_
warping
}
...
...
@@ -22,20 +24,25 @@
\input
{
imgproc
_
object
_
detection
}
\chapter
{
features2d. Feature Detection and Descriptor Extraction
}
\renewcommand
{
\curModule
}{
features2d
}
\input
{
features2d
_
feature
_
detection
}
\input
{
features2d
_
object
_
recognition
}
\input
{
features2d
_
object
_
detection
}
\chapter
{
flann. Clustering and Search in Multi-Dimensional Spaces
}
\renewcommand
{
\curModule
}{
flann
}
\input
{
flann
}
\chapter
{
objdetect. Object Detection
}
\renewcommand
{
\curModule
}{
objdetect
}
\input
{
objdetect
}
\chapter
{
video. Video Analysis
}
\renewcommand
{
\curModule
}{
video
}
\input
{
video
_
motion
_
tracking
}
\chapter
{
highgui. High-level GUI and Media I/O
}
\renewcommand
{
\curModule
}{
highgui
}
\input
{
highgui
}
\ifPy
%Qt is for C and Cpp, so do nothing
\else
...
...
@@ -43,10 +50,12 @@
\fi
\chapter
{
calib3d. Camera Calibration, Pose Estimation and Stereo
}
\renewcommand
{
\curModule
}{
calib3d
}
\input
{
calib3d
}
\chapter
{
ml. Machine Learning
}
\renewcommand
{
\curModule
}{
ml
}
\input
{
ml
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录