角石分块分块
这个包为在3D医学成像中插出标签图提供了一个用途. 它利用了 itk-wasm 财务报告和审定财务报表 @itk-wasm/morphological-contour-interpolation 用于在分片之间进行形态轮廓插入.
概览
在3D医学成像中创建分片时,手动分片每个片段往往很费时. 这个包允许您只分出一分片,然后在这些分片之间自动插入分片,大大缩短了完成3D分片所需的时间.
安装
npm install @cornerstonejs/labelmap-interpolation
使用量
基本用途
import { interpolate } from '@cornerstonejs/labelmap-interpolation';
// Run interpolation on a specific segment
interpolate({
segmentationId: 'MY_SEGMENTATION_ID',
segmentIndex: 1, // The segment index to interpolate
});
有配置选项
import { interpolate } from '@cornerstonejs/labelmap-interpolation';
// Run interpolation with custom configuration
interpolate({
segmentationId: 'MY_SEGMENTATION_ID',
segmentIndex: 1,
configuration: {
axis: 2, // Axis along which to perform interpolation (0=X, 1=Y, 2=Z)
noHeuristicAlignment: false, // Whether to disable heuristic alignment
noUseDistanceTransform: false, // Whether to disable distance transform
useCustomSlicePositions: false, // Whether to use custom slice positions
preview: false, // Whether to preview the interpolation result
},
});
如何运作
插入过程通过:
- 分解量与非相邻片段
- 使用形态轮廓插入以填充缺失的切片
- 用插入数据更新分块量
该软件包使用网络工人在背景线条中进行插值,防止了UI在计算过程中被冻结.
许可证
麻省理工学院