volmetrics
changeset 13:77a376198d38
foo
author | Eleni Maria Stea <elene.mst@gmail.com> |
---|---|
date | Sun, 02 Feb 2014 02:32:00 +0200 |
parents | 1272e3335608 |
children | a828d8735957 |
files | notes src/volume.cc |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/notes Sun Feb 02 02:18:08 2014 +0200 1.2 +++ b/notes Sun Feb 02 02:32:00 2014 +0200 1.3 @@ -2,4 +2,13 @@ 1.4 k T=0,5 panta 1.5 gia windowing 1.6 1.7 +2o para8uro pou visualize to slice k sou epitrepei na allazeis ti 1.8 +windowing function: 1.9 + 1.10 na balw to t tou gui -1000 ws 1000 k na ginetai map sto 0 ws 1 1.11 + 1.12 +interpolation stin eval 1.13 + 1.14 +optimisations 1.15 + 1.16 +DISPLAY LISTS
2.1 --- a/src/volume.cc Sun Feb 02 02:18:08 2014 +0200 2.2 +++ b/src/volume.cc Sun Feb 02 02:32:00 2014 +0200 2.3 @@ -178,7 +178,6 @@ 2.4 x = (x - low) / (high - low); 2.5 return x * x * (3.0 - 2.0 * x); 2.6 } 2.7 - 2.8 static float cb_eval(float x, float y, float z) 2.9 { 2.10 const Image *img = cur_vol->get_slice_by_z((z + 1) / 2.0);