A method for optical imaging and monitoring of the excretion of fluorescent nanocomposites from the body using artificial neural networks.