From a terminal session:

hdiutil mount filename

hdiutil attach dmgfilename

From what I can tell, this is similar to just double clicking on the filename from Finder.

The image file is then mounted at /Volumes/imagelabel.