README
Larvitar
Dicom Image Toolkit for CornestoneJS
Current version: 1.2.3
Latest Stable version: 1.2.3
Latest Published Release: 1.2.3
This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornestone-js environment. Orthogonal multiplanar reformat is included as well as custom loader/exporter for nrrd files and Vuex custom integration.
index
main filedataDictionary
json file for dicom tagsimageColormaps
provides color maps functionalitiesimageContours
using to populate cornerstone tool for segmentation contours on 2D imagesimageIo
import a dicom image in .nrrd format and build contiguous array for exporting data as volumeimageLayers
provide support for multi-layer cornerstone fusion rendererimageLoading
initialize loader and custom loadersimageParsing
parse dicom files and return a cornestone data structure ready to be used for renderingimagePresets
provides default image CT presets and set functionalityimageRendering
provides rendering functionalitiesimageReslice
provides reslice functionalitiesimageStore
provides data storage functionalities, vuex support is integratedimageTools
using to handle standard and custom cornerstone toolsimageUtils
utility functions on pixels and metadata tagsloaders/commonLoader
common functionalities for custom loadersloaders/dicomLoader
custom loader for DICOM files with support for multiplanar reformat (axial, sagittal and coronal planes)loaders/fileLoader
custom loader for png/jpg filesloaders/nrrdLoader
custom loader for nrrd files with support for multiplanar reformat (axial, sagittal and coronal planes)loaders/resliceLoader
custom loader for resliced dataloaders/multiFrameLoader
custom loader for multiFrame dataparsers/nrrd
custom parser for nrrd datatools/custom/contourTool
is a custom cornerstone tool for 2D visualization of segmented imagestools/custom/diameterTool
is a custom cornerstone tool for 2D visualization of diameter widgetstools/custom/editMaskTool
is a custom cornerstone tool for 2D visualization of segmentation masks with brush functionalitiestools/custom/seedTool
is a custom cornerstone tool for 2D interactive seeding with custom colors and labelstools/custom/thresholdsBrushTool
is a custom cornerstone tool for handling thresholds in a brush tooltools/default
default tools map and configurationtools/io
import and export functionalities for toolstools/main
tools main functionalitiestools/state
tools state managementtools/segmentation
segmentation masks managementmodules/vuex/larvitar.js
optional vuex state module
Larvitar can be used with or without vuex
bindings:
import { initLarvitarStore } from "larvitar";
import store from "@/store/index";
initLarvitarStore(store); // Calling this without parameters makes Larvitar use its internal store.
Full documentation and examples are available at http://www.dvisionlab.com/Larvitar/.
Contributors
- Simone Manini, D/Vision Lab
- Mattia Ronzoni, D/Vision Lab
- Sara Zanchi, D/Vision Lab
Dependencies
cornerstone
cornerstone-tools
dicomParser
wadoImageLoader
webImageLoader
fileImageLoader
lodash
pako
papaparse
Installation
yarn add larvitar
Build package
yarn build-lib