Distributed medical images analysis on a grid infrastructure