I have my grayscale 8bit BMP. Where and how do I get a level terrain out of that?

Thanks.