How do I remove a disk image that I created myself? I went to disk utility and created a new image with 1.5 GB of my hard disk. 

Now I want to remove it and have all the space back for my Macintosh HD. Nothing seems to work. If I eject it, it's not completely gone because I can still go to File -> Open Disk Image and I can still see that image. 

How should I completely remove it and restore everything to what it was before?
The disk image itself is basically treated as a file by Finder. So, after ejecting the disk image (assuming you had it mounted), all you need to do is delete the disk image like like you would any other file. 

For example, right-click on the disk image and select the Move to Trash option and then empty the trash. Likewise, you can just select it in Finder and use the commanddelete keyboard shortcut to move it to trash and then empty it.