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

SCM Repository

[diderot] Diff of /branches/charisee_dev/examples/canny/vr-can.diderot
ViewVC logotype

Diff of /branches/charisee_dev/examples/canny/vr-can.diderot

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

revision 3312, Fri Oct 16 20:11:52 2015 UTC revision 3313, Sat Oct 17 00:33:40 2015 UTC
# Line 18  Line 18 
18  input real isoval = 1800;  input real isoval = 1800;
19    
20  field#4(3)[] V = bspln5 ⊛ image("canny.nrrd");  field#4(3)[] V = bspln5 ⊛ image("canny.nrrd");
   
   
21  field#3(3)[3] D = ∇V/|∇V|; // NOTISO (canny) NOTREF  field#3(3)[3] D = ∇V/|∇V|; // NOTISO (canny) NOTREF
22  field#3(3)[] M = ∇V•∇V;    // NOTISO (canny) NOTREF  field#3(3)[] M = ∇V•∇V;    // NOTISO (canny) NOTREF
23  field#2(3)[] F = -∇M • D;  // NOTISO (canny) NOTREF  field#2(3)[] F = -∇M • D;  // NOTISO (canny) NOTREF
 input real gmin = 1;       // NOTISO (canny & ref)  
24    
25    input real gmin = 1;       // NOTISO (canny & ref)
 // field#1(3)[] S = ∇⊗∇M • D • D; // NOTISO  
 // input real smax = -1;// NOTISO  
26    
27  function real alpha(real v, real g) = clamp(0, 1, 1.2*(1 - |v|/(g*thickness)));  function real alpha(real v, real g) = clamp(0, 1, 1.2*(1 - |v|/(g*thickness)));
28  field#0(1)[3] cmap = tent ⊛ image("isobow.nrrd");  field#0(1)[3] cmap = tent ⊛ image("isobow.nrrd");

Legend:
Removed from v.3312  
changed lines
  Added in v.3313

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