Using the differential intensity levels of EpCAM and vimentin, we formulated an image-based tumor purity estimation to measure the tumor cell index. The gene discussed is VIM; the disease is neoplasm.