MIT License

项目介绍

FNNDSC/ami 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 744 个 Star、209 次 Fork。

仓库全名
FNNDSC/ami
开源许可证
MIT License
Star 数
744
Fork 数
209
未关闭 Issue
103

README 摘要

alt="Build Status"> alt="CDNJS Version"> alt="NPM Version"> alt="Slack"> Content 1. Hello AMI 2. Features 3. Usage 4. Developer corner 5. Change log 6. Credits 7. Citations Hello AMI Lesson 00: Load Load DICOM Data and get a nice Series/Stack/Frame structure. Lesson 01: Visualize 3D Look at the data we loaded in 3D. Lesson 02: Mesh Add a mesh to the scene. Lesson 03: Visualize 2D Look at the data in 2D. Lesson 04…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ami 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 744 个 Star。

ami 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 ami 的源码?

可以直接克隆仓库:git clone https://github.com/FNNDSC/ami.git,默认分支为 master;安装与运行步骤见仓库 README。

ami 最近还在维护吗?

仓库最近一次更新为 2022年12月10日,当前有 103 个未关闭 Issue;Star 数为 744,可作为社区活跃度的参考。

关于

AMI Medical Imaging (AMI) JS ToolKit

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
1225
价值分
510
活跃状态
活跃

语言占比

CSS
HTML
JavaScript
Shell
TypeScript

Release

README

Build Status CDNJS Version NPM Version Slack


Content

  1. Hello AMI
  2. Features
  3. Usage
  4. Developer corner
  5. Change log
  6. Credits
  7. Citations

Hello AMI

lesson00 Lesson 00: Load
Load DICOM Data and get a nice Series/Stack/Frame structure.
lesson01 Lesson 01: Visualize 3D
Look at the data we loaded in 3D.
lesson00 Lesson 02: Mesh
Add a mesh to the scene.
lesson00 Lesson 03: Visualize 2D
Look at the data in 2D.
lesson00 Lesson 04: Labelmap
Overlays on top of you data.
Lesson 05: TRK
TRK - coming soon.
lesson00 Lesson 06: Volume Rendering
Volume Rendering.
Lesson 07: Lookup tables
Lookup Tables - coming soon.
lesson00 Lesson 08: Custom progress bar
Custom progress bars.

(more) Advanced demos

Volume rendering, 2D viewer, arbitrary reslicing and more examples and advanced demos there!

Features

✅ READY 🔶 IN PROGRESS OR LIMITED SUPPORT ❌ ON ROADMAP

Capabilities Volumes Meshes Widgets
✅ 2D Visulization ✅ Dicom ✅ VTK (THREEJS) 🔶 Handle (2D/3D)
✅ 3D Visualization ✅ NRRD ✅ STL (THREEJS) 🔶 Probe (2D/3D)
✅ Volume Rendering ✅ Nifti ✅ TRK 🔶 Ruler (2D/3D)
✅ Lookup Tables ✅ MHD/(Z)RAW ✅ FSM 🔶 Orientation (2D/3D)
✅ Label Maps ✅ MGH/MGZ ❌ CURV 🔶 Angle (2D/3D)
❌ JPEG

Usage

Pre-requisites

  • ES2015 promises support. (consider using polyfills if needed)
  • Load THREEJS your index.html BEFORE AMI.

<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r81/three.js"></script>

Yarn


$> yarn add ami.js

Note: you might need to include babel transforms in you build process.


// app.js
import * as AMI form 'ami.js';
window.console.log('Ready to rock!!');

ami.js

Check-out the lessons to get started quickly.

New: Use the new factory not to have to include three in index.html.

import * as THREE from 'three';
import {stackHelperFactory} from 'ami.js';

const StackHelper = stackHelperFactory(THREE);
const stackHelper = new StackHelper();

Add AMI in your index.html after THREEJS.


<!-- index.html -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r81/three.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ami.js/0.0.12/ami.min.js"></script>
<script src="app.js"></script>

#app.js
const AMI = AMI;
window.console.log('Ready to rock!!');

Developer corner

Get the source code and related packages.


$> git clone https://github.com/FNNDSC/ami.git
$> cd ami
$> yarn install

To run examples (browserify/babelify/serve the example)


$> yarn example <examples name>

#run the geometries_slice example
$> yarn example geometries_slice

Build standalone library to lib/


$> yarn build:ami

Build minified standalone version run


$> yarn build:ami:prod

Tests


$> yarn test

Documentation


$> yarn doc

Build and deploy dist/ to gh-pages


$> yarn deploy

Find out more about the API.

Change log

Credits

AMI would not exist without them:

THREEJS
  • Base components such as Vectors, Matrices and Objects3D.
  • HTML template for example page.
  • Author(s): mrdoob
DicomParser
  • DICOM parsing relies on it.
  • Author(s): chafey
CornerstoneWADOImageLoader
  • Was used to figure out how to use the dicom parser properly.
  • Author(s): chafey
NIFTI-Reader-JS
  • Nifti parsing relies on it.
  • Author(s): rii-mango
NRRD-JS
  • NRRD parsing relies on it.
  • Author(s): jaspervdg
JPEGLosslessDecoderJS
  • JPEG Lossless Decoder for DICOM images
  • Author(s): rii-mango
Image-JPEG2000
Pako
  • GZ file decompression
  • Author(s): nodeca

Citations

2017

2016

评论

暂无评论