www.slicer.org Slicer Wiki pages 

We have a NEW web site, where you can find the newest relevant information on 3DSlicer. These pages are for archival purposes.

Cookbook

The Cookbook gives you recipes for common Slicer tasks.

1. Acquiring your data 2. Understanding and Importing your data into Slicer
3. Using DICOM data with Slicer 4. The print_header program
5. Viewing data in Slicer 6. Editing data in Slicer
7. Image Registration 8. Creating 3D Models with Slicer
9. Possible caveats 10. Saving the scene description to an XML file

1. Acquiring your data

This page is intended to help people who are working at the Surgical Planning Lab (SPL) to get their data into a safe place to begin working with Slicer. That data may be from the scanners at Brigham and Women's Hospital, or imported from other sites. Check the appropriate link below for your particular situation.

We suggest that other sites create a similar page describing their environment for data acquisition. Often, a major obstacle to using Slicer is finding your data, and getting it into a format that is compatible with Slicer.

Recent MR scans done at Brigham and Women's Hospital

Currently there are 6 MR scanners at the hospital main campus:

Data from each scanner is stored in an image database dedicated to the scanner. Recent data is kept in the database, and is directly available. As newer data becomes available, older data is archived to tape and removed from the database. The data persists in the database for different lengths of time, depending on the volume of scans being done on the scanners. Generally, the clinical scanners are busier and data is available in the database for less time.
Here are the typical days of on-line storage for each scanner:

To work with this data, you need to know both the 8-digit Medical Record Number (MRN) and on which scanner your data was acquired.
Change to the appropriate directory for that scanner data, and make a copy of the data. (The directories containing the data are read-only.)
The SPL provides limited short-term storage in a file system located in directory /spl/tmp. You can use this "staging area" to sort your data and find the series of interest, before moving the data to another location. This short-term storage currently provides 100 gigabytes of storage. Data in this area will persist for 2 weeks from the time it is last accessed.
For longer term storage, ask your supervisor for some disk space. Most data sets are either 512x512 resolution or 256x256 resolution and from 50 to hundreds of images, so disk space needed is substantial: from 20 to several hundred megabytes per dataset.

For example, if your data was generated on the main clinical scanner and the MRN is 12345678 you could use the following sequence of commands:
  1. Make a working directory for yourself in the temporary storage area:

  2. Change to the directory with the patient data. The naming schemes for the scanners are the same as the scanner names above. In this case:

  3. Copy the data to your working directory:

Now you have a copy of the data to work with.


Older MR scans done at Brigham and Women's Hospital

We also have long-term backup of virtually all MR cases. These cases are stored on older style exabyte tapes as UNIX tar files.
Our current procedure is somewhat cumbersome. To find your data you need to know the Medical Record Number (MRN) or the patient name. (Since the MRN is unique and the patient name may be very common, it is best to use the MRN.) It is also very useful to know the date of the scan that you are interested in, so that you can determine which case you want to restore if there are multiple cases for the patient. This is actually the rule rather than the exception.
Data archives are also categorized by scanner. Each scanner has its own series of tapes and also a command for searching the database for the data you are seeking:

To find an older MR case use the following procedure:

  1. Run a script to set up the above commands:
  2. Search for your data in the appropriate database. In this example, we will search the MR1 database for MRN 12345678:

    This will produce entries of the following form:

    The key field above is the one after MR1 (for example, 96011).
    This tells the date and tar file: 96 is the year 1996, 01 is the month 01 (January), and the last 1 is the tape number. You can use this information to determine if you have the correct dataset.
  3. The next step is to make sure you have enough disk space for the data.
  4. Then, send both the disk location where to store the data and the information about the data you want (for example, /d/nile/backups/MR1/96011/tar12:123456789) to the manager of the SPL data archive. He will restore the data from the tape to the disk location for you.
Now you have a copy of the data to work with.

Recent (up to 3 months) CT scans done at Brigham and Women's Hospital

Currently the SPL does not maintain archives of the CT data. To access recent CT cases, you will need to use the Partners HealthCare System Radiology Web Server.
To do this, please follow these steps:
  1. Get a BICS account (if you don't already have one). After you get your BICS account, you will be able to look up information in the hospital database and view images with your browser. However, to transfer the image to the SPL, you will need to contact the BICS manager and get your BICS account modified to include data transfer privileges. Also, make sure that your browser accepts cookies, or you will not be able to use your BICS account.
  2. Point your browser at RadReport.
  3. Click RadReport and enter your BICS access key (which you received from the BICS manager).
  4. Enter the Medical Record Number (MRN) of the patient, or do a BWH search to find the information for recent cases. Most of this page is self-explanatory.
    The one important field that is not obvious is the one labeled "Stat" (Status) and it is important to know what the letters stand for: Reports that are not in F : Finalized are not likely to be available.
  5. When you have located the dataset of interest, you can view any or all of the images in the series to determine if this is the data that you want. Select images and click View Image(s).
  6. After viewing the images, return to the previous page to transfer the images. Click Transfer. Again, you can select any or all of the images to transfer.
  7. Select Transfer compressed .gz and click Do it!. This will build a compressed tar file of your images. This may take a while to complete if you are getting a lot of images.
  8. When the compression is done, click Click to download study. By default, the data will go to your home directory, so make sure to change this to the actual file destination.
  9. Use the cd command to change to the directory where your data has been transferred. The file images.tar is the compressed tar file.
  10. Extract the tar file with the UNIX command:
  11. Uncompress the tar file with the command:
  12. Remove the tar file with:
Now you have a copy of the data to work with.


Older CT scans done at Brigham and Women's Hospital

The PACS (Picture Archiving and Communications Systems) system only keeps data available online for 1 to 3 months, depending on the volume of cases. The data is then archived to optical disk, which is not accessible directly via the Radweb interface. To get these older cases, you will need to use one of the following procedures.

Preferred procedure

Note: This method will only work for cases scanned after September 1998.
  1. Get a BICS account (if you don't already have one). You can do this through Suzanne Nagle (x2-6723) or Cheryl Mcdonald-Spriggs (x2-6266).
    After you get your BICS account, you will be able to look up information in the hospital database and view images with your browser. However, to transfer the image to the SPL you will need to have your BICS account modified to include transfer privileges. (Contact Bill Hanlon at x2-5938 or Dave Gigas at x2-6512.) Also, make sure that your browser accepts cookies, or you will not be able to use your BICS account.
  2. Point your browser at RadReport.
  3. Click RadReport and enter your BICS access key (which you received from the BICS manager). Click Submit.
  4. Click Search PACS.
  5. Enter the MRN and as much information that you know about the study that you want to restore. Click Submit Query.
  6. A list of cases matching your search criteria will appear as hypertext links. To put your case in the retrieval queue, click the link. The case should be restored within 1 hour and will persist in the Radweb database for 30 days.
  7. After waiting an hour for the case to be restored, follow steps 5-12 in the previous section to finish restoring the data.

Alternate procedure

  1. Go to the CT reading area and ask for the chief technician (or someone who can restore a case to the PACS from the optical disk). (Unfortunately, we do not have an established person to handle this procedure. It is sometimes difficult to find a person who is capable of assisting in this regard.) You will need to know the patient name, MRN, and date of the exam. The data is automatically restored so that it is visible from the CT consoles.
  2. When the case is restored to the PACS, it will show up in a list of patients available for display at the CT reading stations. From the console, you (or one of the technicians) can choose to send the data to remote destination SPL. This will send the data to the SPL.
  3. Once the data is sent back to the SPL, it will be available in directory /spl/tmp/incoming.
This data will be in DICOM (digital imaging and communications in medicine) format.


Any MR or CT scans that you would like to acquire via FTP from a remote site

The SPL provides an anonymous ftp server. To get data to the SPL via ftp, use the following commands:
  1. ftp -i to duke.bwh.harvard.edu (duke's IP address is 134.174.9.66).
  2. login as anonymous, using your email address as password.
  3. cd pub/incoming
  4. binary (this puts you in binary file mode).
  5. mput * (this assumes that you are in the directory where the remote images exist).
  6. Locally, in the SPL:
  7. cp your files to a place to work on them, for example:
  8. After you have made a copy of your data, make sure to remove your files from the ftp directory.
Now you have a copy of the data to work with.


Any MR or CT scans that you have stored on a CDROM that were acquired at a remote site

Most of the workstations in the SPL are equipped with CDROM readers. To get your data from CDROM to the SPL you will need to use the following procedure.
  1. Insert your CDROM into the CDROM reader.
  2. On the same workstation, change to the directory where the CDROM is mounted. The mount point is /cdrom, so the command is:
  3. Look in this directory for your data. It may take a few minutes to mount the drive, so be patient.
  4. When your data shows up, copy it to a "staging area" so that you can sort through it, for example:
  5. Eject the CDROM with the command:
  6. Take your CDROM.
Now you have a copy of the data to work with.

top

2. Understanding and Importing your data into Slicer

Slicer can read a number of different image formats, including: GE Genesis, GE Signa, DICOM (digital imaging and communications in medicine), and no-header format. You can use the following sequence to load your data into Slicer:
  1. Type the command:
  2. On the Main menu, click Data.
  3. Click Add Volume. The Props panel should appear:

Slicer browser interface

If your data is in DICOM format:
  1. Click DICOM (some of the letters may not be visible).
  2. See Using DICOM data with Slicer.
For other data formats:
  1. Click Browse. Slicer will open the directory where you started Slicer from.
  2. Double-click one of the images that you want to work on, and then click Apply.
    Slicer now tries to figure out what kind of data you have so it can properly load and orient your data. If it succeeds, Slicer will load your data and you will see your images. If it does not succeed, Slicer will display a message asking you to enter the header information manually and the following panel will appear:

Default Slicer header parameters

The default parameters above are the minimum that Slicer requires to load your data. Slicer uses these parameters to determine the geometry of your data. For example, if you have 60 MR images and the parameters for your data are the same as the default parameters, then Slicer would know the following about your data: These default parameters are commonly used, but you will need to know the correct values for your data to view your data properly. Most of these parameters should be self-explanatory, except the File Pattern. This is the pattern for naming the files, expressed in C language syntax. For example, a file named skin.001 has a pattern of %s.%03d, and a file named skin.1 has %s.%d for a pattern. The default is "%s.%03d". This means that Slicer is able to read images numbered with 3 digits after the decimal point (xxx.001 to xxx.999). If your images are instead numbered xxx.1 to xxx.9, you will need to change the File Pattern to "%s.%d". When you have entered all the parameters correctly for your data, click Apply and Slicer will load the data.

Please note that when you have finished editing your data, the segmented/edited images that Slicer writes out do not contain any header information. Slicer encodes this header information into a MRML (Medical Reality Modeling Language) file when you save your scene. This file describes the volumes that you have loaded into Slicer and how you have modified them using Slicer's tools.

In most cases, you will want to load more than one dataset. To load more data, simply repeat the procedure above. Slicer typically will display up to three data sets at one time: a foreground, a background, and a segmented dataset. When the Data tab is active, the data sets that comprise the current scene appear in the MRML File Contents (Current Scene) panel. This looks like:

Description of Scene

If some of your data is incorrect or you want to rearrange the order in which your data is loaded, you can move or delete it.
  1. Click on the offending data.
  2. Then right-click.
  3. Select from the menu to either delete or cut and paste the data.

top

3. Using DICOM data with Slicer

Slicer now supports reading DICOM (digital imaging and communications in medicine) Version 3.0 CT and MRI images. (The SPL gratefully acknowledges Attila Tanacs for the work he did to add this powerful capability to Slicer.)
Currently, segmented and otherwise modified DICOM images are written in the same format as other images that Slicer reads. (For example, the images are written in big-endian format and numbered imagename.001 to imagename.xxx.)

To read DICOM files with Slicer:

  1. On the Main menu, click Data.
  2. Click Add Volume. The Props panel appears.

  3. Click DICOM. (Not all the letters of DICOM may be visible.)
  4. Click Select Dicom Volume. (A file browser window appears. This browser does not sort the file names alphabetically. If there are many files in a directory, it may be easier to type the path to the images than to use the browser.)

  5. Select an image and click OK. A window appears, displaying patient information, studies, series, and files. (If there are many images in the directory, it may take a while for the information to appear.)

  6. In this window, options include:
  7. After the data is organized properly, click OK.
  8. Click Extract Header. This displays the information extracted from the headers describing the dataset.

top

4. The print_header program

The print_header program reads information from the header of an image (if the header exists) and extracts useful information to help you understand your data.

print_header can usually read headers for the following data types: To run print_header, type (for an image called I.001): The print_header program will print output like this: There are several things to note about the output of print_header:

top

5. Viewing data in Slicer

Slicer can be used to create many kinds of scenes, including: Each scene has two parts in both the Normal mode (shown below) and the 4x512 mode. (Those two modes seem to be the most popular viewing modes.)

The top portion is the 3D Viewer.
The bottom portion is the 2D Viewer.

Slicer has many controls over the 3D Viewer and 2D Viewer. Here are some of them.

Selecting the View mode

To select the View mode:
  1. Click View. A drop-down menu of available view modes appears.
  2. Select a view mode from the menu. The view will change to reflect your selection.
Different View modes are useful for different situations. Most users prefer the Normal (shown above) or 4D view for observing data after they are done editing and creating a scene. Users also prefer the 4x512 view during the editing process.

Controlling the 3D view

There are several options for controlling the 3D view with the mouse:

Annotations on the scene

Slicer can display annotations over images when you move the mouse around the scene to edit or view data. You can control the appearance of these annotations.

To control the annotations over images:

  1. Click More. A drop-down menu of modules appears.

  2. Click Anno. A panel appears.
  3. Select the annotation options you prefer.
  4. To save options, click File, then click Save Current Options. This will save your options to a file called Options.xml.

Controlling the 2D view

The 2D view of the scene (see below) can display multiple data sets in a variety of ways. Each of the three separate windows displays the data as a view from one of the three major axes.
Note: Changing the 2D view may also change the 3D view.
Here are some of the ways to control the 2D view:

In the view above, you can see different combinations of these controls:

Controlling the scene with the user interface panel

Move the cursor over the Slicer icon:
The user interface panel appears:
The controls on the user interface panel include:

top

6. Editing data in Slicer

Slicer has a set of effects (tools) for editing (or segmenting) your data.

Before Editing

On the Main menu, click Editor. The Volumes tab appears:
NOTE: Slicer creates (in memory) a working version of the data that reflects your edits (called a label map). When saved, the default file name of this working copy is called Working.

Before you start editing: When you have finished editing, make sure to save your changes. Slicer will remind you if you have unsaved volumes and will display the names of unsaved volumes.

NOTE: Slicer will strip the headers off the images when you save your data. Slicer encodes the geometry and orientation of your data in a MRML (Medical Reality Modeling Language) file. You can save, reload, and repeatedly update your MRML file until you have created the scene you want.

Click Start Editing. The Effects tab appears:

Editing Data

Select the Active Slice to edit by clicking Red, Yellow, or Green.

About the Editing Effects

Some considerations are common to all the editing effects:

Using the Effects

Threshold effect

The goal of thresholding is to limit the output image to only those pixels whose signal intensity is between the lower and upper bounds you select. In the new output volume, all the pixels will have a single label (the Output color).
Threshold is useful for separating the anatomy of interest from surrounding anatomy, based on the signal intensity of the anatomy of interest. For example, Threshold works well for segmenting bone in CT data.

To use Threshold:
  1. Click Threshold. This window appears:
  2. Select the Input Volume.
  3. Select the Scope and Interact ranges.
  4. Click Output and select a color, or enter an Output color number. You can also enter an optional label for what that color will represent. For instance, in this example, the chosen color is 2 (orange) and the label is 'skin'.
  5. Adjust the Lo slider to exclude points whose signal intensity is too low.
  6. Adjust the Hi slider to exclude points whose signal intensity is too high.
  7. Click Apply to apply the thresholding effect. Slicer will update the Working volume with your new label of thresholded data.
Results of thresholding
In the example below, we are segmenting the CT skull bone. Thresholding has changed the label to be blue. Notice that the skull is well-defined and separated from the rest of the image.



Change Label effect

The Change Label effect changes the value of the label of pixels to another value.
Change Label is useful when you are merging two data sets together and you want to keep the data sets distinct from each other.

To use Change Label:
  1. Click Change Label. This window appears:
  2. Select the Input Volume.
  3. Select the Scope range.
  4. Enter a Value to change. This is the value of label of pixels in the Input Volume that Slicer will change.
  5. Click Output and select a color, or enter an Output color number. This is the new value that pixels with the Value to change will receive.
  6. Click Apply to apply the change label effect. Slicer will update the Working volume with your newly labeled data.



Identify Islands effect

This effect does not currently work.


Change Island effect

The Change Island effect changes the label of an "island" of pixels. Slicer considers an island to be a group of connected pixels that have the same label.
Change Island is useful when, after applying an effect (particularly thresholding) to the volume, you still are not able to separate the anatomy you are interested in. For example, surrounding areas may have the same signal intensity as the anatomy of interest, as in the case below: separating the skull is difficult because surrounding points have the same label as the skull itself.


To use Change Island:
  1. Click Change Island. This window appears:
  2. Select the Input Volume.
  3. Select the Scope and Render ranges.
  4. Click New Label and select a color, or enter a New Label color number. This is the new label value that pixels in the selected island will receive.
  5. Click any part of the island. The pixels that are part of that island will receive the New Label value.
Results after using Change Island:



Measure Island effect

The Measure Island effect calculates the volume of an island of pixels. Slicer considers an island to be a group of connected pixels that have the same label.

To use Measure Island:
  1. Click Measure Island. This window appears:
  2. Select the Input Volume.
  3. Select the Scope range.
  4. Click Island Label and select a color, or enter an Island Label color number. Measure Island will calculate the volume of the pixels with the Island Label color in the selected island.
  5. Click any part of the island. Slicer will display the Size, in pixels, of the island you clicked. Slicer will also display the size of the Largest island within the selected Scope.

To calculate the total volume of the selected island, use the following formula: size * pixel_size * pixel_size * (thickness + spacing)




Erode effect

The Erode effect removes pixels at the border of all islands. Slicer considers an island to be a group of connected pixels that have the same label. Dilation is the opposite effect, and adds pixels around the borders of all islands.
Erode is useful for separating two distinct pieces of anatomy that are only partially connected, or for removing many small islands, some of which are connected to the anatomy of interest (as shown below).


To use Erode:
  1. Click Erode. This window appears:
  2. Select the Input Volume.
  3. Select the Scope range. Multi Slice applies the one-slice erosion to each slice. 3D treats the whole volume at once.
  4. Click Value to Erode and select a color, or enter a Value to Erode color number. Erode will act only on pixels with the selected Value to Erode color.
  5. Enter 0 for the Fill value.
  6. Enter the number of times to apply the effect in the Iterations field.
  7. Select 4 for Neighborhood Size for less erosion or 8 for more erosion.
  8. Select Active to apply Erode to the active view. Select Native to apply Erode to the original view.
  9. Click either:
Results after using Erode:



Draw effect

The Draw effect lets you specify pixels by drawing directly on them.
Draw is useful when automatic methods cannot segment the data correctly.

To use Draw:
  1. Click Draw. This window appears:
  2. Click Output and select a color, or enter an Output color number. This is the new value that pixels you draw on will receive.
  3. Enter a value for the Point Radius, which controls how fine each line of the drawing is. Using a value of 1 or 2 allows you to select individual points.
  4. Select the Mode of the left mouse button in the draw window. Draw is for drawing on points. Select is for selecting points. Move is for moving selected points.
  5. If the Mode is Select or Move, you can use:
  6. Select the Render range.
  7. Select the Shape that the left mouse represents in the draw window.
  8. Draw on the region of interest (ROI), using the left mouse button. You can use the right mouse button to zoom in and out on the area. The middle mouse button moves the image in the window.
  9. To clear the list of points after you click Apply, click Yes. To keep the same points in a list after you click Apply, click No.
  10. When you have finished drawing the outline of the ROI, click Apply. Slicer will fill the ROI with the Output color.



Remove Islands effect

This function does not work.


Save Island effect

Save Island will retain the selected island, and remove disconnected pixels with the same label.
Save Island is useful for separating a single connected structure from other structures.


PhaseWire effect

PhaseWire is a semi-automatic tool to outline features on images by following edges or contours.
Using PhaseWire is a rapid way to outline a feature.

To use PhaseWire:
  1. Click PhaseWire. This window appears:
  2. Click Basic. (Only the Basic features work.)
  3. Click Output and select a color, or enter an Output color number. This is the new value that pixels you outline will receive.
  4. Select the Render range.
  5. Select the Shape of the outline. Polygon will fill in the feature when you click Apply. Lines will create only the outline and not fill in the feature.
  6. Select the Image Feature Size.
  7. Click the left mouse on the edge of the feature that you want to outline. Release the mouse button, but follow the edge with the mouse.
    If the "wire" starts to stray from the edge, click the mouse button to pull in the wire.
  8. To undo the last mouse click, click Undo Last Click.
  9. To start the outline process again, click Clear Contour.
  10. When you have finished drawing the outline of the ROI, click Apply. If Polygon is selected, Slicer will fill the ROI with the Output color. If Lines is selected, Slicer will outline the ROI with the Output color.

top

7. Image Registration

It is often useful to register (align) one dataset to another. For example, you can view data for one patient from several different times. Or, you can view data for one patient using multiple imaging modalities, such as CT and MR.
Slicer uses the rigid registration technique, which shifts or rotates one dataset onto the other dataset without warping either dataset. As a result, Slicer's current registration method is best suited to registering multiple data sets for the same patient.
To begin registration:
  1. Click Data on the Main menu. The Data panel appears.
  2. Select the volume(s) and/or model(s) that you would like to move with this transform.
  3. Click Data.
  4. Click one of the volumes. This will highlight the volume.
  5. Click Add Transform to surround them with a transform. This will create an identity matrix.
  6. Click Alignments.
  7. Click Manual.
  8. Move the slider in the user interface panel at the bottom-left (near the Exit and Fade buttons) so that both volumes are visible.
  9. Use the translation and rotation sliders to move one dataset into alignment with the other. You can also drag one dataset to align it with the other dataset.

Example of Registration

Below is how a scene looks before the two data sets are aligned. The data sets show the top and bottom of a skull. The white areas are areas of overlap. (Click image for a larger picture.)

Below is the scene after manually moving the top of the skull. (Click image for a larger picture.) The data is now approximately aligned. The white strip is where the two data sets overlap.

If we save this scene and examine the resulting .xml file, there is a text entry similar to the following:

This Matrix entry precedes one of the Volumes and describes the rigid transform that moves the top part of the skull into alignment with the bottom part. Slicer loads in the two misaligned data sets and then applies the above transform to create the scene with the data properly aligned.

Automatic Registration

Slicer has the ability to perform automatic registration. However, it is a good idea to start with a manual registration, as described above, before letting the automatic registration refine the alignment.

To perform automatic registration:
  1. Click Alignments.
  2. Click Auto.
  3. Select one of the matrices generated in the manual registration phase.
  4. Select the reference volume and the volume to move.
  5. Click Run. The automatic registration will run. This will take a few minutes, including initialization and a series of displays that appear and disappear.

If we save this new scene and examine the resulting .xml file, there is a new text entry for the matrix:

Note that the numbers in this matrix (resulting from automatic registration) are very similar to those for manual registration, but are more precise.

top

8. Creating 3D Models with Slicer

One of the most important uses of Slicer is to create three dimensional reconstructions of anatomical structures, using two dimensional slices as input. This type of reconstruction is called a 3D model. The input to this process is label map data that has been created with Slicer's editing tools.
To create a 3D model:
  1. From the Main menu, click ModelMaker. The ModelMaker panel appears.
  2. Click the Create tab. The Create panel appears.
  3. Select the Volume.
  4. Click Label and select a color, or enter a Label color number. This is the value that will be used to create the model. This should correspond to the value in the label map.
  5. Enter a Name for this model.
  6. Enter a Smooth value, which controls how smooth the resulting model will be.
  7. Enter a Decimate value, which indicates how redundant polygons will be reduced.
  8. Click Create to start the model creation process.
Here is an example. Below is a skull image segmented using the Threshold effect. All voxels labeled 4 (blue) will be included in the resulting model.

Below is the resulting 3D skull model.

top

9. Possible caveats

Some Slicer caveats and some possible solutions

Slicer is a research effort and a work in progress. As such, there are many features that don't always work in all cases. Here are some known issues and some ways to deal with them.

top

10. Saving the scene description to an XML file

In the File menu, there are several save options:

How to use these save options:

  1. Launch Slicer from the directory where you would like to save the label maps, .xml files, and models.
  2. Load the data that you want to segment, and select values for viewing, such as FOV.
  3. Use Save Scene As to save an .xml file with a specific name.
  4. Use Save Scene with Options to save the scene with your selected options.
  5. Begin segmentation. Save the label maps.
  6. Use Save Scene with Options to save the scene.
  7. Any time that you change and save the label maps, use Save Scene with Options to save the scene.

top