Sara Seager, a planetary theorist at the Massachusetts Institute of Technology, said it was significant that the planets in both cases seemed to be associated with disks of dust, particularly Fomalhaut, one of the brightest and closest stars known to be host to a massive disk.

“Fomalhaut is like a Hollywood star to astronomers, so we have some personal excitement here,” Dr. Seager said. “It feels like finding out that one of your four closest friends just won the lottery big time”

Alan Boss, a planetary theorist at the Carnegie Institution of Washington, said the triple-planet system in Pegasus was particularly promising, “as we expect planets to form in systems in general, whereas spurious background interlopers will generally appear as single ‘planets.’ ” But he and others cautioned that much more study of these objects was necessary and that the masses imputed to them were still highly uncertain.

Being able to see planets directly opens the door to spectroscopic observations that can help determine the composition, temperature and other physical characteristics of planets and allow for comparisons with one another and with their parent stars. Dr. Macintosh said he hoped to train a spectroscope on his new planets as early as Monday.

The new images are the fruits of a long campaign by astronomers to see more and more of the unseeable. In particular, it is a triumph for the emerging technology of adaptive optics, in which telescope mirrors are jiggled and warped slightly many times a second to compensate for the atmospheric turbulence that blurs star images.

The problem in seeing other planets is picking them out of the glare of their parent stars, which are millions of times brighter, at least in visible light. As a result, planet hunters usually look for infrared, or heat radiation, which is emitted copiously by planets still shedding heat from the process of formation.

For their observations, Dr. Marois and his colleagues used the 8-meter in diameter Gemini North and the 10-meter Keck telescopes on Mauna Kea in Hawaii, both of which had been fitted with adaptive optics. Then they processed the images with a special computer program, which Dr. Marois described as “a software coronagraph,” for processing the images.