In this study, we found that H&E specimens include potential biological information that distinguishes noncancer and gastric cancer tissues using the target‐free algorithm wndchrm. Our fact‐driven image analysis indicated that expression levels of ATF7IP/MCAF1 and PD‐L1 as determined by IHC correspond to tissue morphology in H&E stained images. Here, ATF7IP is linked to gastric cancer.