The <kview> and <MultibeamView> programmes allow you to view two datasets. This allows you to compare different datasets in a very easy fashion. Both these programmes use the ImageDisplay widget (section 2.15) to provide the usual interface. Pressing the View button will pop up the View2Datasets widget. This widget provides an advanced control for two datasets (either two-dimensional or three-dimensional). It allows the user to display one dataset or the other, overlay contours of one over the other, show profiles along any axis, and much more. The controls provided are:
The programme should also work with a photographic negative. The centroiding algorithm is automatically modified to look for a trough rather than a peak
These options can be mixed, i.e. -0.03:-0.01+0.01 0.003:0.1+0.02 0.2 0.3 is interpreted correctly.
In addition, if you click the left mouse button without moving it in between the press and release, the image will pan across. If you click the middle mouse button, the image will zoom in 2x (the new centre of the image will be the place where you clicked). Click the right mouse button to zoom out 2x. If the profile mode is ``box'' then you can't use the middle mouse button to zoom.
A screen snapshot is available here.
The following command-line options are supported by <kview> and <MultibeamView>:
If you want to play a movie that was made using the Hot Gas Substances or the Hot Gas Continuous shaders of the xray volume rendering tool, you should compress this movie from 24-bit to 8-bit. Movies made with the other algorithms do not require compression and can be played directly. The compression of 24-bit movies is done with the command:
conv_24to8 -com w -max <max num of colours> - <inmovie>
The switch -com w tells the program that it should compress such that it has the same colourmap for all the images. In principle you could leave out this switch, but that is not recommended. Your movie will look awful.
The switch -max <max num of colours> gives the maximum number of colours the final movie can have. The recommended value to use is -max 200. Do not give a higher number than 220.
Please note the space between the name of the movie and the minus-sign.
You do not have control over the name of the output file. The string conv_24to8_ is prepended to the name of the input file:
conv_24to8 -c w -m 200 - ugc12441_movie
produces a file conv_24to8_ugc12441_movie.kf (!) with the compressed movie.
The <kview> and <MultibeamView> programmes have special-purpose code to display two datasets, one as images and the other as contours. If you wish to display multiple images (not cubes) as contours, you should use the ImageDisplay widget (section 2.15) to load extra contour images.
A future version of <kview> will support loading of multiple datasets (images and cubes) and drawing multiple images as contours. However, this is a major project, so in the meantime the contour loading facility of the ImageDisplay widget (section 2.15) will need to be used.