### Morph Map

Morph Map morphs between two related sets of volume data (maps). The data sets must have the same grid dimensions, spacing, and numbers of points. By default, intermediate states are generated by linear interpolation. A smooth progression from one map to the other can be displayed and recorded as a movie. See also: Volume Series, making movies

There are several ways to start Morph Map, a tool in the Volume Data category (including from the Volume Viewer Tools menu). It is also implemented as the command vop morph.

The First map and Second map should be chosen from the adjacent lists of open volume data sets. If the maps of interest are not already open, the Browse... buttons can be used to locate and open them.

Moving the Fraction slider generates the corresponding interpolated state. The morph is opened as new volume data set, and its display settings (threshold level/color, surface smoothing, etc.) can be adjusted in Volume Viewer. At a fraction of 0.0, the interpolated map is the same as the First map, and at a fraction of 1.0, it is the same as the Second map.

Clicking Options reveals additional settings that can be hidden again by clicking the small button on the right.

• Movie start [fs] end [fe] step [increment] - playback/recording setup: fs (default 0.0) is the smallest fraction to be visited during playback or the movie, fe (default 1.0) is the largest, and increment (default 0.1) is the change in fraction per frame
• Undisplay original maps - undisplay the endpoint maps whenever the fraction is changed
• Multiplier for second map [factor] - scale the values in the second map by factor before calculating intermediate values
• Adjust threshold for constant volume - automatically adjust the threshold (contour level) to keep the enclosed volume constant
• Add to first map instead of interpolating - instead of linearly interpolating between data values D1 (from the first map) and D2 (from the second):
```D1(1–fraction) + D2(fraction)
```
calculate intermediate values with:
```D1 + D2(fraction)
```
This treats the second map as a delta to be applied to the first map. For example, the second map could represent normal mode fluctuations of the first map.
• Round trip when recording movie - include the reverse interpolation after the forward interpolation when recording a movie
Play oscillates playback continuously until Stop is clicked.

Record progresses through a single cycle (start to end and optionally back to start), saving an image at each step, and then raises a dialog for specifying:

• movie File name and location
• File type (MPEG-1, MPEG-2, MPEG-4, AVI MSMPEG-4v2, Quicktime)
• Bit rate (default 6000 Kb/sec, typical of DVD movies) - higher rates increase quality but also file size
Close closes the Morph Map interface. Help opens this manual page in a browser window.

UCSF Computer Graphics Laboratory / October 2009