Virtual injection of genetically engineered light sensitive cardiac cells into a human heart. Magnetic resonance imaging generates a sequence of two-dimensional images at different depths (top, left). We segment cardiac muscle tissue semi-manually using standard image processing techniques (bottom, left). Thresholding and binary masking convert the raw grayscale images to monochrome images with sharply defined boundaries (top, right). From these slices, we create a preliminary triangular surface mesh and converted it into the final tetrahedral volume mesh consisting of 3,129 nodes and 11,347 tetrahedral elements (bottom, right). Last, we virtually inject photosensitive cells into different regions of the heart and stimulated with light (middle).