将VTKLOOVIUTS设置在卷DICOM图像上
Set vtkLookupTable on Volume DICOM Images
我在医疗项目中获得了MIP(最大强度投影)和其他卷,用于查看dicom
图像。为了制作我使用的卷:
-
vtkVolume
-
vtkSmartVolumeMapper
我需要将vtkLookupTable
设置为卷,但找不到适当的方法。有更多经验的人可以向我解释我如何在vtkSmartVolumeMapper
vtkLookupTable
您可以检查类vtkdiscretizablecolortransferfunction
这是VTKColorTransferFunction和Vtklookupt的组合。
,例如
vtkSmartPointer<vtkDiscretizableColorTransferFunction> discretizableColorTransferFunction =
vtkSmartPointer<vtkDiscretizableColorTransferFunction>::New();
discretizableColorTransferFunction->DiscretizeOn();
discretizableColorTransferFunction->SetNumberOfValues(10);
discretizableColorTransferFunction->AddRGBPoint(10.0, 0, 1, 0);
discretizableColorTransferFunction->Build();
volumeProperty->SetColor(discretizableColorTransferFunction);
volume->SetProperty(volumeProperty);
相关文章:
- C++,OpenCV,尝试显示图像时"OpenCV(4.3.0) Error: Assertion failed (size.width>0 && size.height>0)"此错误
- 如何使用OpenCV将RBG图像转换为HSV,并将H、S和V值保存为C++中的3个独立图像
- OpenCV EqualizeHist()从彩色图像创建黑白图像
- 将"打开的CV图像"中的"颜色"转换为整数格式
- 平均图像时图像损坏
- 在C++中使用GDAL可以将图像的像素坐标转换为lat,long吗
- 如何将图像传输到c++(dll)中的缓冲区,然后在c#的缓冲区中读/写
- Vulkan验证层不断在VkQueuePresentKHR()上抛出图像布局错误
- 使用FFMPEG将RGB图像序列保存到.mp4时出现问题
- 如何使用Imebra库将压缩像素(用我自己的编码器压缩)回到DICOM图像文件中
- 如何在VTK DICOM阅读器中读取图像类型(0008,0008)
- 将VTKLOOVIUTS设置在卷DICOM图像上
- 从PixelData值(DCMTK)开始解压缩JPEG DICOM图像
- DICOM图像处理,可视化和GUI-C++和Python
- 如何使用Imebra库修改DICOM文件中的图像像素
- 在QLabel/QGraphicsView中显示Dicom图像
- 保存itkImage为DICOM时,不写入图像位置/方向
- 当我使用dcmtk时,为什么我要从2^15中减去dicom图像的像素值?
- 将16位灰度DICOM图像转换为8位:正确的步骤
- 在.net中使用open cv打开dicom图像时链接错误