is a flow chart illustrating one implementation of the translation detection algorithm structured light is projected on target 1505 a first image is recorded image n 1510 another image is then recorded image n 1 1515 host computer cross correlates images images n and n 1 1520 the host computer finds the peak of cross correlation that corresponds to the point of u2018 most similarity u2019 1525 the host computer infers transformation data from the location of the cross correlation peak and sends results to the mri 1530 the next image is recorded image n 2 1535 host computer cross correlates images n 2 and n 1 1540 find the peak of cross correlation that corresponds to the point of u2018 most similarity u2019 1545 infer transformation data from the location of the cross correlation peak and send results to mri 1550 fig1 is a flowchart illustrating a possible method of calibration structured light is projected on target 1605 the first step is for a first image is recorded 1610 the next step is for a second image is recorded image n 1 1615 the host computer cross correlates acquired images 1620 the coordinates from image n are assigned to be at a point based in cartesian coordinate system 1625 this point can be used as a reference point for all further image calculation fig1 is a flowchart illustrating another method of using structured light to correct for motion data in this embodiment there.