Monte Carlo Photon Transport

tMCimg uses a Monte Carlo algorithm to model the transport of photons through 3D highly volumes with spatially varying optical properties and arbitrary boundary conditions. Both highly-scattering tissues (e.g. white matter) and weakly scattering tissues (e.g. cerebral spinal fluid) are supported. Using the clinical structural information provided by MRI, X-Ray CT, or ultrasound, accurate solutions to the photon migration forward problem are found in times ranging from minutes to hours, depending on the optical properties and the computing resources available.

tMCimg was developed for use under Linux. Other Unix-based systems should have no difficulties compiling tMCimg, just use the provided "configure" tool. I've created project files, so the code should compile fairly easily under Microsoft Visual C++, but the settings could probably stand some fine-tuning still.

Please note that support for this software is limited.

 

Install instructions

For Unix systems

  1. Download the source code tarball
  2. Unpack the source code in a convenient directory
  3. Run the configure program to set the environment and generate the makefiles. Type configure --help to see the different compile-time options available, although the defaults should be fine for most people.
  4. Type make and build the program.
  5. You're now ready to go. The actual executables are in the tMCimg and cfg2inp directories. Documentation and sample configuration files are in the doc directory.

 

For Windows systems

  1. Download the source code zipfile
  2. Unpack the source code in a convenient directory
  3. Double click on the tMCimg.dsw file (or load the workspace from inside Visual Studio)
  4. You should be able to compile directly from that point

 

Program Executables and Source Code