CARIS HIPS and SIPS Help : CARIS : Displaying Data : 2D View : Adjust the Display : Colour Range Editor
 
Colour Range Editor

The Colour Range Editor is used to create and edit colour range files. The Editor is accessible from the Colour Map property list when a data layer is selected in the Layers window.

Colour range files assign colours to attribute value ranges in the current dataset. By default, colour range (.crf) files are stored in the following directory:

C:\ProgramData\CARIS\<application>\<version>\Colour

Two colour range files are provided with Teledyne CARIS applications. You can edit these files or create your own as needed.

When an existing colour range file is open in the Editor, a histogram and a table of colour values are displayed. Each colour assigned to a value range in the table is displayed with the RGBA values of the colour. When creating a new colour range, the histogram and colour table are empty (no colour values displayed).

The histogram is not displayed if viewing a colour range file for vector data. It is only provided for raster data.

Procedure

To access the Colour Range Editor via raster data, see Raster Data. To access the Colour Range Editor via vector data, see Vector Data.

Raster Data

1. Select a raster data layer in the Layers window.

2. Select the Colour By property in the Properties window and choose the attribute to colour the data by. The display will be coloured according to the values of the selected attribute in the data source.

The Colour Map property is populated with a list of files that can be applied.

3. From the Colour Map list, select New Colour Range to create a new colour file, or select the colour range file you want to edit, then expand the list a second time and choose Edit.

If you chose New Colour Range, the editor is launched and is ready to begin creating the colour range. If you chose to edit the selected colour range, the editor is populated with a histogram and a table of the colour values in the selected colour range file.

The histogram is not displayed if viewing a colour range file for vector data. It is only provided for raster data.

The Editor provides the following options:

Add a Colour: Add a custom colour to the colour list.

Remove a Colour Range: Remove a colour from the list.

Remove All Colour Ranges: Remove all colours from the list.

Save As: Save a new or edited colour range file.

Vector Data

1. Select a vector data layer in the Layers window.

2. Expand the drop-down list for the Colour Range property in the Properties window and either:

Select <New...> to create a new colour range file.

Select <Browse...> to browse to the Colour directory in ProgramData and select an existing colour range file.

If you chose New, the editor is launched and is ready to begin creating the colour range. If you chose Browse, the selected file is shown in the field and applied to the data and an Edit field is added to the list of options for the Colour Range property. This option allows the selected colour range file to be edited.

3. [Optional] Select Edit from the Colour Range property.

The editor is opened, populated with a table of the colour values in the current colour range file.

The Editor provides the following options:

Add a Colour: Add a custom colour to the colour list.

Remove a Colour Range: Remove a colour from the list.

Remove All Colour Ranges: Remove all colours from the list.

Save As: Save a new or edited colour range file.

Add a Colour

To add a colour:

1. With a colour range file open, click Add.

A new entry is added to the table of colour range values.

To define the colour range, the minimum and maximum values of the range must be specified and a colour must be selected to represent each value.

2. Type a value in the Min field for the starting value of the range.

3. Press the <Tab> key to select the Max field.

4. Enter the end value of the range.

5. To select a Start colour for the range, click the colour field.

This will launch the Select Colour dialog box where a colour can be selected.

6. Select a colour and click OK.

The selected colour is displayed in the table of colour range values.

7. To select an End colour for the range, click the colour field.

8. Select a colour in the Select Colour dialog box and click OK.

You are returned to the Colour Range Editor and the selected colour is displayed for the End colour.

9. Repeat steps 1 through 8 until all necessary ranges have been added.

10. To store the settings in a new colour range file, click Save As; to save the settings to the current (previously saved) file, click OK.

If you chose Save As, the Save As dialog box is displayed. Otherwise, the settings are saved to the current file.

11. Type a name for the new file.

All colour range files are saved to the default CRF file directory.

12. Click Save.

The colour range file is saved.

Remove a Colour Range

To remove a colour range from the table of range values:

1. Select the range in the list.

2. Click Remove.

The colour range is removed from the list.

3. Save the changes.

Remove All Colour Ranges

To remove all colour ranges from the table and start over:

1. Click Remove All.

The list of colour range values should now be completely empty.

2. Reassign colour ranges as needed and save the changes.

Apply a Colour Range File

To apply a colour range file to your current data display:

1. Select the relevant layer in the Layers window.

2. Choose the attribute that you want to colour by in the Colour By list.

3. Select a colour range file from the Colour Map list.

4. Refresh the Display window.

The data should now be coloured according to the defined ranges.