VolViewer commands by function

From BanghamLab
Revision as of 18:48, 1 March 2012 by AndrewBangham (talk | contribs)
Jump to navigation Jump to search

Return to VolViewer Scripting in more detail
Full list of VolViewerScriptsAPI

Selection of VolViewer commands

The Matlab 'VolViewer' class library provides commandsVOL which will pass commands to VolViewer, e.g. in Matlab

VO=commandsVOL(VO,'set_clear_all_MSR()')

VO is a VolViewer object created by Matlab when it launches VolViewer with

VO=VolViewer(1,'D:\VolViewer_x64','D:\VolViewer_x64')

where 'D:\VolViewer_x64' is the path to both VolViewer itself and the location of a 'WatchFile.txt' into which commands are written.

Image open_image_stack(int channel, 'somepath\slice000.png') 0 all, 1 red, 2 green, 3 blue, directory of image slices
save_image_stack('somepath')
open_image_raw(int channel, 'somepath\myfile.raw')
save_image_raw('somepath\file.dat')
open_omero_image('imageid') (in preparation)
save_omero_image('name', 'description') (in preparation)
--------
Objects open_msr('somepath\file.msr') points, lines and facets placed around images
save_msr('somepath\file.msr')
open_slc('somepath\file.slc') clipping planes
save_tfn('somepath\file.slc')
open_tfn('somepath\file.tfn')') transfer function, i.e. brightness/contrast/thresholds
save_tfn('somepath\file.tfn')

}