@cornerstonejs/calculate-suv

中文文档
1.1.0发布于 2023/09/08MITTypeScriptESM + CJS零依赖近 30 天下载 29.2万

A tiny library for calculating Standardized Uptake Value (SUV) for Nuclear Medicine (i.e. PET, SPECT)

原始使用文档
文档目录3 节
  1. How does it work?
  2. Why does the function require an array of metadata values?
  3. What about private tags

@cornerstonejs/calculate-suv

A tiny library for calculating Standardized Uptake Value (SUV) for Nuclear Medicine (i.e. PET, SPECT)

This library follows the logic laid out by the Quantitative Imaging Biomarkers Alliance (QIBA) on their Wiki page.

Special thanks to Salim Kanoun MD from The Cancer University Institute of Toulouse - Oncopole and Lysarc for their assistance.

How does it work?

You provide an array of instance/frame metadata corresponding to slices in a PET acquisition. The function returns an array of scaling factors, one per slice, which you can use to obtain SUV values.

Why does the function require an array of metadata values?

This is required because some PET acquisitions have metadata in individual frames which needs to be taken into account.

What about private tags

The logic in the library is laid out by QIBA, and takes into account private tags included by several vendors (GE, Siemens, Philips). If these tags are provided, they will be used, but they are not required to be provided. If you have values in these tags in your dataset, you must provide them because otherwise you will not obtain the correct result.

版本与发布记录

@cornerstonejs/calculate-suv 共发布 5 个版本,首次发布于 2022/03/22;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.1.0latest2023/09/083 年前
1.0.32022/08/044 年前
1.0.22022/03/264 年前
1.0.12022/03/224 年前
1.0.02022/03/224 年前

关于 @cornerstonejs/calculate-suv 的常见问题

@cornerstonejs/calculate-suv 是什么?

A tiny library for calculating Standardized Uptake Value (SUV) for Nuclear Medicine (i.e. PET, SPECT)

如何安装 @cornerstonejs/calculate-suv?

在项目目录运行 npm install @cornerstonejs/calculate-suv,或使用 pnpm add / yarn add / bun add。

@cornerstonejs/calculate-suv 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cornerstonejs/calculate-suv 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@cornerstonejs/calculate-suv 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=10。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@cornerstonejs/calculate-suv 可以商用吗?

@cornerstonejs/calculate-suv 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cornerstonejs/calculate-suv 的下载量有多少?

根据 npm 官方下载统计,@cornerstonejs/calculate-suv 在 2026/10/11 – 2026/11/09 这 30 天内被下载 292,145 次,日均约 9,738 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cornerstonejs/calculate-suv 还在维护吗?

最新版本 1.1.0 发布于 2023/09/08(3 年前);至今共发布 5 个版本,其中过去 12 个月发布了 0 个;首次发布于 2022/03/22。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。