Direct imaging only show the heaviest planets, if they are not too close to the central star. Transits on the other hand reveal planets as lightweight as Mercury with a tight orbit around their star.
Scatter plot of known exoplanets according to their mass and distance to the central star. Categorized by method of discovery.