Grayscale image from binary data
问题 I'm working on some simple viewer app for CT images. Let's say I have array of 262144 Int16 values. Each value represents one pixel in 512x512 image. Each pixel has value from 0 to 4096 where 0 is black and 4096 is white. Is there any elegant, simple solution to display this image in Visual Studio Picture Box? Maybe some kind of MemoryReader or Stream? I've tried to search for some solution but found only topic about retrieving binary data from databases. 回答1: A good way and with a good