A closer look at Direct imaging of exoplanets
A camera can sometimes separate a planet’s light from its star’s much brighter glare.
Young, hot, widely separated giant planets are favorable targets. Adaptive optics and coronagraphs can help isolate them.
A point beside a star could be an unrelated background object. Repeated images can test whether both share motion across the sky. A coronagraph suppresses glare from a bright central source.
Want to learn more about Direct imaging of exoplanets? Methods of detecting exoplanets on Wikipedia.

