next up previous contents index
Next: 4 Volume Rendering a Up: Karma User Manual Previous: 2 Common Features

3 Viewing Images and Cubes

      

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:

  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.

Command-line Options

 

The following command-line options are supported by <kview> and <MultibeamView>:

3.2 Special Movies

  

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.

3.3 Multiple Contour Images

 

The <kview> and <MultibeamView> programmes only support displaying one dataset as contours. If you wish to display multiple datasets as contours, you will also need to use the <send-contours> programme to display the second, third and further contoured datasets.

A future version of <kview> will support loading of multiple datasets and drawing multiple images as contours. However, this is a major project, so in the meantime the <send-contours> programme will need to be used.


next up previous contents index
Next: 4 Volume Rendering a Up: Karma User Manual Previous: 2 Common Features

Richard Gooch
Wed Sep 2 12:43:13 EST 1998