I'm trying to use ImageMagick to distort an image of some text into a mask image. I've been reading through the examples on mapping and distorting, but without much luck.
In short, I'm aiming to take an image like this:

... and distort it to match the area shown in black on this image:

... resulting in an image something like this:

The images I'm using are all PNGs with transparent backgrounds. I was able to create the resulting distored image shown above using Forward Bilinear Distortion, but the problem there is that I have to provide a bunch of control points, which is a manual process. I'm looking for an automated way to distort the text.
Is this possible?
Thanks in advance!