在DICOM标准里,有三个TAG与成像的方向相关. 参考来源:Kitware关于DICOM方向的说明 http://public.kitware.com/IGSTKWIKI/index.php/DICOM_data_orientation 包括 1.Image Position (0020,0032): specifies the x, y, and z coordinates of the upper left hand corner of the image. In other words,
动态地址访问像素:src.at<Vec3b>(i, j)[0].src.at<uchar>(i, j) int b = src.at<Vec3b>(i, j)[0];int g = src.at<Vec3b>(i, j)[1];int r = src.at<Vec3b>(i, j)[2]; 用来访问三通道图像的单个像素.对于三通道图像,每个像素存储了三个值,分别为蓝色.绿色.红色通道上的数值. int gray_data = gray.at&l