OPN1LW and blue cone monochromacy: We used supervised machine learning to predict foveal function from foveal structure in blue cone monochromacy (BCM), an X-linked congenital cone photoreceptor dysfunction secondary to mutations in the OPN1LW/OPN1MW gene cluster.