The study is designed as a prospective, observational, monocentric, cohort study on algorithm. At our Institution ICG is already used routinely to assess visceral perfusion during gastrointestinal operations. We plan to enroll 70 patients for esophagogastric resections and 140 patients for colorectal resections. Firstly, the adequacy of colon or gastric perfusion will be assessed by the surgical team in the traditional way. Color, pulsatile flow of vessels (right gastroepiploic arcade for the gastric conduit, marginal artery for the colon), presence of peristalsis and bleeding from the colic resection lines will be considered as parameters of perfusion. Then, ICG will be injected, Q-ICG analysis will be performed in all the patients by using a new quantification algorithm and data will be recorded and reported in a specific Database. The surgical strategy will not be modified based on Q-ICG results.