Doctors use many tests to find, or diagnose, cancer. They also do tests to learn if cancer has spread to another part of the body from where it started.
As part of tests undertaken is the use of ICG as noted in this patient-dedicated page
https://www.cancer.net/cancer-types/eye-melanoma/diagnosis?sectionTitle=Diagnosis