Viewing images in MathCAD 9.0
- March 22, 2023
- 1 reply
- 4327 views
I'm trialling 9.0 just to get a feel for some image processing stuff, but already hit a problem:
I've created a tiny matrix of grey scale values.
I can write that out to a .bmp file using WRITEBMP (although I don't understand the "=0" syntax required for it to work?)
I can read the bit map in again using READBMP and show the greyscale values again, so far so good.
But how can I actually view the image as an image?
As far as I can tell, there is no graph or plot function that can show a 2d plot of squares, each with a different shade of grey based on an 8 bit value.
Neither does there appear to be another function to show the image (not the numbers) of a bitmap.
I can insert a picture from file, but when I do this a.) it seems to show smoothing/interpolation between pixel values (where does this come from - if I open the image in windows Photos app it displays 9 pixels as expected ?!) and b.) it does not update if matrix values are changed.
I am assuming that I am missing some simple method of viewing the images. There seems little point in having a nice set of image processing functions if you can't visualise the impact it has on your image at each step!!
Any help very much appreciated.
Thanks
Ian

