时间紧,回复的给高分,拜托了
高为1280,宽为960,Z方向高度为这样的double型数据,有2个问题,第一这些数据怎么化成0-255,第二,化成0-255之后怎么绘制灰度图想,我是在mfc对话框中写的1280
960
29.7042615569242
29.6622054126792
29.6696961599199
29.6771869071605
29.6351307629156
29.5313585129569
29.2559281631496
29.228148204304
29.2325301562564
29.240020903497
29.3049697405171
29.454038421827
29.6532835325006
29.845271112256
30.2668999221502
30.2793182788739
30.2868090261145
30.2893721638721
30.1326545966871
........