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

SCM Repository

[diderot] Diff of /trunk/doc/probe/paper.tex
ViewVC logotype

Diff of /trunk/doc/probe/paper.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 287, Fri Aug 13 21:40:04 2010 UTC revision 288, Fri Aug 13 22:25:53 2010 UTC
# Line 118  Line 118 
118  \lstset{language=C}  \lstset{language=C}
119  \begin{lstlisting}  \begin{lstlisting}
120  double V[];                     // image data  double V[];                     // image data
121  double h[4][4];                 // kernel  double h[4][4] = {              // bspln3
122            { 1.33333,   2.0,  1.0,  0.166667 },   // -2 .. -1
123            { 0.666667,  0.0, -1.0, -0.5 },        // -1 .. 0
124            { 0.666667,  0.0, -1.0,  0.5 },        //  0 .. 1
125            { 1.33333,  -2.0,  1.0, -0.166667 },   //  1 .. 2
126        }
127    
128  double probe (double p)  double probe (double p)
129  {  {
# Line 210  Line 215 
215  typedef double vec3[3];  typedef double vec3[3];
216    
217  double V[][][];         // image data  double V[][][];         // image data
218  double h[4][4];         // kernel  double h[4][4];         // bslpn3 (as before)
219  const int s = 2;        // kernel support  const int s = 2;        // kernel support
220    
221  double probe (vec3 p)  double probe (vec3 p)

Legend:
Removed from v.287  
changed lines
  Added in v.288

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