I was following the post:
Display grayscale image as 3d plot
But the method failed for any image of substantial size (in my case when the data size is of order 3072x4096). Ram usage on my machine jumps to maximum and then the kernel aborts. On a more powerful machine, it completely froze my system.
My guess is I either have to create an interpolation, down-sample somehow, or modify the settings of ListPlot3D.
The code I used is:
complexImage = Import["somePath"] data = Reverse[ImageData[RemoveAlphaChannel[ColorConvert[complexImage, "Grayscale"]]]] ListPlot3D[data,AxesLabel -> {"x", "y", "z"}] The dimensions of data are {3072,4096}. I'm not too familiar with Mathematicas image processing techniques so any assistance would be appreciated.