2.6.6 • Published 1 month ago

larvitar v2.6.6

Weekly downloads
20
License
MIT
Repository
github
Last release
1 month ago

Larvitar

type-coverage

Dicom Image Toolkit for CornerstoneJS

Current version: 2.6.6

Latest Published Release: 2.6.6

This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.

Features:

  • Orthogonal multiplanar reformat with contours generations
  • Custom loader/exporter for nrrd files
  • Segmentation masks support
  • Memory management
  • Support all dicom modalities
  • 4D Cine support
  • Anonymization functionalities
  • Cine tools and ECG Parsing
  • Masks management

Full documentation and examples are available at http://www.dvisionlab.com/Larvitar/.

Typescript

Types can be imported from larvitar/imaging/types or larvitar/imaging/tools/types.

import { Series } from "larvitar/imaging/types";

let newSerie: Series;

Dependencies

  • cornerstone
  • cornerstone-tools
  • dicomParser
  • DICOMImageLoader
  • webImageLoader
  • fileImageLoader
  • lodash
  • pako
  • papaparse

Installation

yarn add larvitar

Build package

yarn build

Coverage

Use yarn coverage to generate type coverage report.

Development

Use yarn dev to have webpack hot-reload (live recompiling the library). In order to test functionalities you can serve the .html file with VSCode extension LiveServer or other similar tools. Once you are done, upgrade the version (README and package.json) and build the library. Docs will be compiled by the Github action.

Repository structure

  • index main file
  • dataDictionary json file for dicom tags
  • imageAnonymization provides anonymization functionalities
  • imageCustomization provides Byte Array customization functionalities
  • imageColormaps provides color maps functionalities
  • imageContours using to populate cornerstone tool for segmentation contours on 2D images
  • imageIo import a dicom image in .nrrd format and build contiguous array for exporting data as volume
  • imageLayers provide support for multi-layer cornerstone fusion renderer
  • imageLoading initialize loader and custom loaders
  • imageParsing parse dicom files and return a cornerstone data structure ready to be used for rendering
  • imagePresets provides default image CT presets and set functionality
  • imageRendering provides rendering functionalities
  • imageReslice provides reslice functionalities
  • imageStore provides data storage functionalities, vuex support is integrated
  • imageTags using to handle dicom tags and metadata
  • imageTools using to handle standard and custom cornerstone tools
  • imageUtils utility functions on pixels and metadata tags
  • loaders/commonLoader common functionalities for custom loaders
  • loaders/dicomLoader custom loader for DICOM files with support for multiplanar reformat (axial, sagittal and coronal planes)
  • loaders/fileLoader custom loader for png/jpg files
  • loaders/multiFrameLoader custom loader for multiFrame data
  • loaders/nrrdLoadercustom loader for nrrd files with support for multiplanar reformat (axial, sagittal and coronal planes)
  • loaders/resliceLoader custom loader for resliced data
  • parsers/ecg custom parser for ecg data
  • parsers/nrrd custom parser for nrrd data
  • tools/custom/4DSliceScrollTool is a custom cornerstone tool for handling navigation of slices in a 4D DICOM series
  • tools/custom/contourTool is a custom cornerstone tool for 2D visualization of segmented images
  • tools/custom/diameterTool is a custom cornerstone tool for 2D visualization of diameter widgets
  • tools/custom/editMaskTool is a custom cornerstone tool for 2D visualization of segmentation masks with brush functionalities
  • tools/custom/EllipticalRoiOverlayTool is a custom cornerstone tool for 2D visualization of elliptical widgets
  • tools/custom/polygonSegmentationMixin is a custom cornerstone tool for 2D visualization of polygonal widgets
  • tools/custom/polylineScissorTool is a custom cornerstone tool for 2D visualization of polyline widgets
  • tools/custom/rectangleRoiOverlayTool is a custom cornerstone tool for 2D visualization of rectangular widgets
  • tools/custom/seedTool is a custom cornerstone tool for 2D interactive seeding with custom colors and labels
  • tools/custom/setLabelMap3D
  • tools/custom/thresholdsBrushTool is a custom cornerstone tool for handling thresholds in a brush tool
  • tools/default default tools map and configuration
  • tools/interaction cornerstone interaction tools
  • tools/io import and export functionalities for tools
  • tools/main tools main functionalities
  • tools/state tools state management
  • tools/segmentation segmentation masks management
  • tools/strategies/eraseFreeHand strategy for erasing freehand masks
  • tools/strategies/fillFreeHand strategy for filling freehand masks
  • tools/strategies/index strategies index

Contributors

  • Simone Manini, D/Vision Lab
  • Mattia Ronzoni, D/Vision Lab
  • Sara Zanchi, D/Vision Lab
  • Alessandro Re, D/Vision Lab
  • Laura Borghesi, D/Vision Lab

dvisionlab logo

2.6.6

1 month ago

2.6.2-beta.0

2 months ago

2.6.3

2 months ago

2.6.5

2 months ago

2.6.4

2 months ago

2.5.6

5 months ago

2.5.5

5 months ago

2.5.8

5 months ago

2.5.7

5 months ago

2.5.9

5 months ago

2.5.14

4 months ago

2.5.15

4 months ago

2.5.16

4 months ago

2.5.10

4 months ago

2.5.11

4 months ago

2.5.12

4 months ago

2.5.13

4 months ago

2.6.1

3 months ago

2.6.0

4 months ago

2.5.4

6 months ago

2.5.3

6 months ago

2.5.2

6 months ago

2.5.0

6 months ago

2.5.1

6 months ago

2.4.31

7 months ago

2.4.30

7 months ago

2.4.29

7 months ago

2.4.28

7 months ago

2.4.27

7 months ago

2.4.26

8 months ago

2.4.25

8 months ago

2.4.24

8 months ago

2.4.21

8 months ago

2.4.20

8 months ago

2.4.23

8 months ago

2.4.22

8 months ago

2.4.19

8 months ago

2.4.18

8 months ago

2.4.17

8 months ago

2.4.16

8 months ago

2.4.14

8 months ago

2.4.15

8 months ago

2.4.13

8 months ago

2.4.12

8 months ago

2.4.11

8 months ago

2.4.10

8 months ago

2.4.7

9 months ago

2.4.6

9 months ago

2.4.9

9 months ago

2.4.8

9 months ago

2.4.5

9 months ago

2.4.4

9 months ago

2.4.3

9 months ago

2.4.2

9 months ago

2.4.1

9 months ago

2.4.0

9 months ago

2.3.2

9 months ago

2.3.1

9 months ago

2.3.0

9 months ago

2.2.1

9 months ago

2.1.12

9 months ago

2.2.0

9 months ago

2.1.11

10 months ago

2.1.9

10 months ago

2.1.10

10 months ago

2.1.8

10 months ago

2.1.7

10 months ago

2.1.6

10 months ago

2.1.5

10 months ago

2.1.4

10 months ago

2.1.3

10 months ago

2.1.2

10 months ago

2.1.1

10 months ago

2.1.0

11 months ago

2.0.15

11 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.9

12 months ago

2.0.8

1 year ago

2.0.0

1 year ago

2.0.13

12 months ago

2.0.14

12 months ago

2.0.11

12 months ago

2.0.12

12 months ago

2.0.10

12 months ago

1.5.14

1 year ago

1.5.12

1 year ago

1.5.13

1 year ago

1.5.9

1 year ago

1.5.10

1 year ago

1.5.11

1 year ago

1.5.5

2 years ago

1.5.4

2 years ago

1.5.8

2 years ago

1.5.7

2 years ago

1.5.6

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0-beta.1

2 years ago

1.3.0-beta.2

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.10

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.3.0-beta.0

3 years ago

1.2.9

3 years ago

1.2.4

3 years ago

1.2.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

0.20.0

3 years ago

0.19.0

3 years ago

0.18.2

3 years ago

0.18.1

3 years ago

0.18.0

3 years ago

0.17.7

3 years ago

0.17.5

3 years ago

0.17.6

3 years ago

0.17.4

3 years ago

0.17.3

3 years ago

0.17.2

3 years ago

0.17.1

3 years ago

0.16.2

3 years ago

0.16.1

3 years ago

0.15.4

3 years ago

0.15.1

3 years ago

0.15.2

3 years ago

0.15.3

3 years ago

0.13.12

3 years ago

0.13.11

3 years ago

0.13.10

3 years ago

0.14.0

3 years ago

0.13.9

4 years ago

0.13.6

4 years ago

0.13.7

4 years ago

0.13.8

4 years ago

0.13.0

4 years ago

0.13.1

4 years ago

0.13.2

4 years ago

0.13.3

4 years ago

0.13.4

4 years ago

0.13.5

4 years ago

0.12.1

4 years ago

0.9.9

4 years ago

0.9.8

4 years ago

0.9.7

4 years ago

0.9.6

4 years ago

0.9.5

4 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.6

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.0

4 years ago

0.5.1

4 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.6

5 years ago

0.3.7

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.2

5 years ago

0.3.3

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago