请问像素与mm怎样换算?
各位:
我现在做图像测量,我不知道一个像素到底换算成mm究竟有多大?
是显示器的点距吗?还是有其他方法换算?我用microsoft photoeditor发现不对,它的像素居然和cm差不多!!这显然不对。
谢谢各位!
问题点数:50、回复次数:8Top
1 楼masterz(www.fruitfruit.com)回复于 2002-06-17 19:06:28 得分 30
no way.
except you know the physical size of the whole image in adavance.
eg. you know the image is 100*100mm, pixel 640*640, then you can calculate distance between two points, otherwise you can not get physical length directly.Top
2 楼liqi(sniper)回复于 2002-06-17 19:28:15 得分 5
用它的坐标转换就行。
SetMapMode();
然后就可以用设备坐标向逻辑坐标转了。
DPtoLP();
都是CDC类的。
VC技术内幕四版有介绍。Top
3 楼Kernel_Don()回复于 2002-06-17 19:30:51 得分 0
橡树下的MM?漂亮吗?Top
4 楼dwpandora(dwpandora)回复于 2002-06-17 21:10:18 得分 5
//set the mapping mode to 0.1mm;
pDC->SetMapMode(MM_LOMETRIC);可以根据你的要求更换显示模式
Top
5 楼tigerfox(风之力:=Doing.浪淘沙)回复于 2002-06-17 21:25:03 得分 5
能不能做个实验测一下对就关系.
其它我也不知道了.Top
6 楼lilachue(静水思雅)回复于 2002-06-17 21:29:40 得分 0
MeiMei KnowTop
7 楼fantong(IT民工 饭桶)回复于 2002-06-17 21:47:25 得分 0
一个mm=n个像素,
越多越清晰,
不要有马赛克Top
8 楼tzhliang(kindboy)回复于 2002-06-17 23:03:11 得分 5
参照一下AutoCADTop




