Performance characterization of a low-cost spatial frequency domain imaging system for the determination of optical properties in tissue-simulating phantoms and in vivo