Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /branches/vis12/doc/report/basis.tex
ViewVC logotype

Annotation of /branches/vis12/doc/report/basis.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 327 - (view) (download) (as text)
Original Path: trunk/doc/report/basis.tex

1 : jhr 326 %!TEX root = report.tex
2 :     %
3 :     \chapter{The Diderot Basis Environment}
4 :     \label{chap:basis}
5 :    
6 : jhr 327 \newcommand{\imageTy}[2]{\mkw{image}(#1)[#2]}
7 :     \newcommand{\kernelTy}[2]{\mkw{kernel\#}#2}
8 :     \newcommand{\fieldTy}[3]{\mkw{field\#}#1(#2)[#3]}
9 :    
10 : jhr 326 \section{Overloaded operators}
11 :    
12 :     \section{Other operators}
13 :    
14 :     \section{Functions}
15 : jhr 327 \newcommand{\PFNSPEC}[4]{\item[\normalfont{$\mathtt{#1} : (#2) #3 \rightarrow #4$}]\mbox{}\\}
16 :     \newcommand{\FNSPEC}[3]{\item[\normalfont{$\mathtt{#1} : #2 \rightarrow #3$}]\mbox{}\\}
17 : jhr 326 \begin{description}
18 : jhr 327 \FNSPEC{CL}{\mkw{tensor}[3,3]}{\mkw{real}}
19 :     \PFNSPEC{convolve}{d,k,\sigma}{(\imageTy{d}{\sigma},\,\kernelTy{k})}{\fieldTy{k}{d}{\sigma}}
20 :     \FNSPEC{cos}{\mkw{real}}{\mkw{real}}
21 : jhr 326 returns the cosine of its argument.
22 : jhr 327 \PFNSPEC{dot}{d}{(\mkw{tensor}[d],\,\mkw{tensor}[d])}{\mkw{real}}
23 :     \PFNSPEC{inside}{k,d,\sigma}{(\fieldTy{k}{d}{\sigma},\,\mkw{tensor}[d])}{\mkw{bool}}
24 :     \PFNSPEC{load}{d,\sigma}{\mkw{string}}{\imageTy{d}{\sigma}}
25 :     \FNSPEC{max}{(\mkw{real},\,\mkw{real})}{\mkw{real}}
26 : jhr 326 returns the minimum of its two arguments.
27 : jhr 327 \FNSPEC{min}{(\mkw{real},\,\mkw{real})}{\mkw{real}}
28 : jhr 326 returns the maximum of its two arguments.
29 : jhr 327 \FNSPEC{modulate}{(\mkw{tensor}[d],\,\mkw{tensor}[d])}{\mkw{tensor}[d]}
30 :     \FNSPEC{pow}{(\mkw{real},\,\mkw{real})}{\mkw{real}}
31 : jhr 326 returns the first argument raised to the power of the second argument.
32 : jhr 327 \PFNSPEC{principleEvec}{d}{\mkw{tensor}[d,d]}{\mkw{tensor}[d]}
33 :     \FNSPEC{sin}{\mkw{real}}{\mkw{real}}
34 : jhr 326 returns the sine of its argument.
35 :     \end{description}%
36 :    
37 :     \section{Kernels}
38 :     Diderot knows about a number of standard convolution kernels, which are described in the
39 :     following table:
40 :     \begin{center}
41 :     \begin{tabular}{r@{ \texttt{:} }lp{3.5in}}
42 :     \multicolumn{2}{c}{\textbf{Specification}} & \textbf{Description} \\ \hline
43 :     \texttt{bspln3} & \kw{kernel\#}\texttt{2} & cubic bspline reconstruction (does not interpolate) \\
44 :     \texttt{bspln5} & \kw{kernel\#}\texttt{4} & quintic bspline reconstruction (does not interpolate) \\
45 :     \texttt{ctmr} & \kw{kernel\#}\texttt{2} & Catmull-Rom interpolation \\
46 :     \texttt{tent} & \kw{kernel\#}\texttt{0} & linear interpolation \\ \hline
47 :     \end{tabular}%
48 :     \end{center}%

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0