Map View - VirtualPhotonics/Vts.Gui.Wpf GitHub Wiki

Map View

Map View

The tab for map view will appear on the right of the application when there is a fluence, absorbed energy or photon hitting density result.

There is an icon at the top in the tab next to the Map View label that when clicked will pop out a separate window containing the current map. The main map can then be recreated. This feature will allow you to compare several maps.

Mean Depth

The mean depth is calculated using the data from the map plotted. A probability density function over z (depth) p(z) is created by integrating the x (horizontal) values for each depth zi. Then the integral of p(z) is used to normalize p(z) and produce a probability density function. The expected value of z using this probability density function produces mean depth.

Plot Type

The plot type toggle allows you to switch the map from linear to log 10. Selecting log 10 is useful for most plots to visualize better the exponential decay of light as it penetrates the tissue.

Auto Scale

Auto Scale is unchecked by default and the colormap limits are set to Min=1e-9 and Max=1. When Auto Scale is checked the minimum and maximum values for the colormap are disabled and their values are determined from the limits of the map data.

Colormap Min & Max

The Min and Max values for the colormap will allow you to change the scaling of the Map.

Colormap Type

This selection dropdown will let you change the colormap of the map view. The choices which align with MATLAB are:

  • Hot
  • Jet
  • Gray
  • HSV
  • Bone
  • Copper
  • Binary

Export As Image

Clicking this button will bring up a file save dialog where you can enter an image filename and save the map as an image.

Export Data

Clicking this button will bring up a file save dialog where you can enter a filename to save the map data as a text file. For more information about processing this file see Exporting Data.