The target of this project is to provide a preview for volume rendering in the browser.
In future it will be integrated in the current workflow of experiments and therefore in the reconstruction process

Felix Schultze 6511f25cca Add diagrams to backend há 9 anos atrás
loadtests 75a14f65f9 Add some more test cases, better tifffile support há 9 anos atrás
misc 6511f25cca Add diagrams to backend há 9 anos atrás
static 088188d10f Fix reference error há 9 anos atrás
templates 6a13ff20b8 let updates on lists work há 9 anos atrás
visualization e247c63469 Add better structure to models há 9 anos atrás
volumes 6bf53935a7 Merge branch 'better_structure' há 9 anos atrás
webserverhelper 0a4d837561 Fix reading of now big tiffile há 9 anos atrás
.gitignore 5c4cdbe895 Add wildcards to .gitignore, Fix grunt file deploying after git move há 9 anos atrás
Gruntfile.js 740b903d7a Copy settings_env.py.<stage> to settings_env.py há 9 anos atrás
README.md 35e984ed97 Add more dependencies to the readme, Add bilinear downsizing há 9 anos atrás
clouds.jpg fc9b044017 Initial commit with version 0.0.7 há 9 anos atrás
manage.py 75a14f65f9 Add some more test cases, better tifffile support há 9 anos atrás
package.json 5c4cdbe895 Add wildcards to .gitignore, Fix grunt file deploying after git move há 9 anos atrás
startDev.sh 49838a8a27 Changed used python version to python2 há 9 anos atrás

README.md

volume-visualization

The target of this project is to provide a preview for volume rendering in the browser. In future it will be integrated in the current workflow of experiments and therefore in the reconstruction process

installation

Please install requirements first.

Example for OpenSuse and with package manager 'zypper':

zypper-packages:

python >= 2.7 python-numpy python-numpy-devel mongodb memcached libmemcached-devel

pip-packages:

blinker python-memcached Django six scipy Pillow scikit-image tifffile mongoengine mongodbforms (from git repo: pip intall git+http://git.ipe.kit.edu/schultze/django-mongodbforms.git)

Import the mongodbdatabase

In general, please refer to the mongodb homepage.

Untar the package 'misc/dump/volume_visualization.mongodb.tar.gz' Then run 'mongorestore --db volume_visualization dump/volume_visualization/' Note that, with this dump, it is not possible to use zooming. For zooming, the original datas are needed, and that are far too big to store it in the git repository.

Configure memcached

At some point we need to cache some generated images in the memcached cache. So we have to increase the number of allowed value size. In OpenSuse, open "/etc/sysconfig/memcached" and add "-I 15M" to the configuration. Start or restart the memcached service

Configure the application properly

Go to 'visualization/' Copy the 'settings_env.py.dev' file to 'settings_env.py'. Review the configuration options and put in yours.

Start running the server

Be sure, that your local mongodb server is running

Just do a 'python manage.py runserver' For more options, please refer to the original Django documentation

Developing JS

Please use Grunt, e.g. 'grunt watch' (in a separate terminal)