Choosing Transfer Function Settings


To convert an image from pixel values to a displayable map of brightness, Mira uses a transfer function and a palette. The transfer function is described here. A transfer function uses a mathematical prescription that involves three Properties: "Sample", "Range", and "Stretch". The settings for each of these Properties may be changed in Mira.

Choosing Settings for Different Types of Objects

The transfer function settings that works best depends on type of object you are viewing as well as some details about the image itself. What may work best for one class of object may not work so well for another but, thankfully, the difference depends mostly on the type of object in the image. Therefore you can use similar parameter settings based on the object and not have to fret over image statistics and other details. For example, the transfer function that works best for an image of a star field is usually not the best for viewing an image of a galaxy nebula. And neither of these methods usually works very well for viewing an image of a planet or the moon. Therefore, Mira provides many settings for adjusting the transfer function as needed. When you get settings just right for a type of object, it is usually good To save them as a "profile" (see below) so that, in the future, you can re-use the same settings for a similar class of image. The profile keeps all parameter settings organized under a name. For example, you may create a certain group of settings that works well for viewing star fields and save that profile with the name "Start Field". Similarly, you may get an adjustment that works well for the moon (or for the surface of Mars or Ganymede) and save it as "Moon". One that works well for Planets might be saved as "Planet". You can have any number of such profiles and you can refine and re-save them at any time using the Profile Control on the Transfer Function Pane and Transfer Function Properties dialog. One of these gets selected as the default transfer function for opening new images. You should select one that you want to use for typical images and make it the default by clicking the [>> Default] button on the Transfer Function Pane dialog.

Note

Mira splits image adjustment into two parts: Transfer Function and Palette. Before beginning to make major changes to the transfer function settings, it is best to start with default palette settings. To reset the palette, use the Palette Reset command from the View > Palettes menu or click the button on the Palette Properties dialog.

 

Many of the transfer function settings may also be changed by using the Transfer Function Popup Menus instead of the Transfer Function Pane dialog.

Guidelines for Choosing Transfer Function Settings

Mira is supplied with a number of transfer function profiles suitable for a wide range of images. You can use these as is, or use them as a starting point and modify them for your own needs. Here are some guidelines for choosing settings for displaying images of different types of subjects. The settings themselves are described in detail further below.

Star fields

Range: 95% (high contrast), 99% (lower contrast).

Stretch: Gamma.

Gamma Value: Start around 0.6. Increase or decrease gamma to change the emphasis on details near the sky level.

Large galaxies or nebulae

Range: 95% (high contrast), 99% (lower contrast).

Stretch: Gamma.

Gamma Value: Start around 0.6. Increase or decrease gamma to change the emphasis on details near the sky level.

Planets

Range: Min/Max.

Stretch: Gamma.

Gamma Value: Start around 1.1. Adjust to emphasize detail either near the center or edges of the planet.

Moon, surface of planets or other bodies

Range: Min/Max, 99% (moderate contrast), or 95% (high contrast)

Stretch: Linear.

Gamma Value: not used.

You may experiment with using a gamma stretch, starting with gamma values near 1.0.

Understanding the Transfer Function Settings

The collection of settings that define a transfer function are described above in general terms. Below, we cover the meaning of these adjustments in a lot more detail. The transfer function is defined by three main Properties: Sample, Range, and Stretch. Each of these is described separately below. The values of these Properties may be adjusted using the Transfer Function Pane and the Transfer Function Properties dialog.

Sample

This property determines which portion of the image is used to calculate the transfer function. Since the transfer function is computed from the image values, this property controls which pixel values go into the calculation. Initially you may want use the Entire Image to set the scaling so that all parts of the image have a chance to vote on how visible they will be. But later you may discover that that despite what other properties you set, letting all pixels vote does not give the desired result for viewing a specific region of interest. In that case, use the Image Cursor to outline the region of interest and switch to the Cursor Region setting.

Range

This property describes how the minimum and maximum image values will be chosen to set the limit on the transfer function. Only pixels within this range will be assigned bins, or palette indices for display purposes. This means that pixels outside this range will be uniformly "black" at the bottom of the scale or uniformly "white" at the top of the scale, with no visible detail.

The range setting is a sort of contrast value based, for many of the options, upon the histogram (distribution) of pixel intensity. The closer together are the minimum and maximum values, the more rapid the change from "black" to "white" in the screen display and hence the higher the contrast appears to be.

Mira provides a number of percentile options that use the image histogram of pixels inside the Sample region to compute the range values. In the descriptions below, the terms "black" and "white" are used to describe values that are of uniform representation above or below the limits of the transfer function. If a pseudocolor palette is applied to the image, then these values may be pink and periwinkle, but the result is the same that all pixels above or below the transfer limits are of uniform color and lack all detail.

Tip

All Range settings other than Specify Z adjust the range value to the histogram of each image. When applying to an Image Set, this property allows the transfer function to accommodate differing image properties.

The Specify Z setting does not accommodate the needs of individual images. When applying to an Image Set, you may not get the expected result for all images unless their intensity histograms are similar.

Stretch

The Stretch parameter describes how pixel values inside the Range are assigned to different bins. By crowding together or spreading out the values assigned to each bin, you can change the contrast within different portions of the brightness range.

Related Topics

Transfer Functions

Transfer Function Pane

Transfer Function Properties

Transfer Function Popup Menus


Mira Pro x64 User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.