Try md5sum (name of ghost image)

then cat /dev/hda | md5sum

and check the sums.
Not sure that will work though, ghost probably encodes the file instead of doing a RAW read.
Think this will not work because the ghostimage is compressed. And it isn't a RAW read as you said. Thx anyway - i will give this a try though.