diff --git a/README.md b/README.md index 39575a6e0..721af5e25 100644 --- a/README.md +++ b/README.md @@ -6,32 +6,38 @@ ## Dicom Image Toolkit for CornestoneJS -### Current version: 0.9.4 +### Current version: 0.9.5 This library provides common dicom functionalities to be used in web-applications. Multiplanar reformat on axial, sagittal and coronal viewports is included as well as custom loader/exporter for nrrd files and orthogonal reslice. - `index` main file -- `image_parsing` parse dicom files and return a cornestone data structure ready to be used for rendering +- `dataDictionary` json file for dicom tags +- `image_colormaps` provides color maps functionalities +- `image_contours` using to populate cornerstone tool for segmentation contours on 2D images - `image_io` import a dicom image in .nrrd format and build contiguous array for exporting data as volume - `image_layers` provide support for multi-layer cornerstone fusion renderer - `image_loading` initialize loader and custom loaders -- `image_contours` using to populate cornerstone tool for segmentation contours on 2D images -- `image_tools` using to handle standard and custom cornerstone tools +- `image_parsing` parse dicom files and return a cornestone data structure ready to be used for rendering - `image_rendering` provides rendering functionalities - `image_store` provides data storage functionalities, vuex support is integrated +- `image_tools` using to handle standard and custom cornerstone tools - `image_utils` utility functions on pixels and metadata tags -- `image_colormaps` provides color maps functionalities -- `dataDictionary` json file for dicom 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/nrrdLoader`custom loader for nrrd files with support for multiplanar reformat (axial, sagittal and coronal planes) - `loaders/resliceLoader` custom loader for resliced data -- `tools/customTool` is a the main file used to initialize custom cornerstone tools +- `parsers/nrrd` custom parser for nrrd data - `tools/contourTool` is a custom cornerstone tool for 2D visualization of segmented images - `tools/diameterTool` is a custom cornerstone tool for 2D visualization of diameter widgets - `tools/editMaskTool` is a custom cornerstone tool for 2D visualization of segmentation masks with brush functionalities - `tools/seedTool` is a custom cornerstone tool for 2D interactive seeding with custom colors and labels -- `tools/default` default tools map and configuration +- `tools/thresholdsBrushTool` is a custom cornerstone tool for handling thresholds in a brush tool +- `tools/tools.default` default tools map and configuration +- `tools/tools.io` import and export functionalities for tools +- `tools/tools.main` tools main functionalities +- `tools/tools.state` tools state management + Full documentation is available at http://www.dvisionlab.com/Larvitar/. @@ -46,10 +52,14 @@ Full documentation is available at http://www.dvisionlab.com/Larvitar/. # Dependencies - `cornerstone` +- `cornerstone-tools` - `dicomParser` - `wadoImageLoader` +- `webImageLoader` +- `fileImageLoader` - `lodash` -- `nrrd-js` +- `pako` +- `papaparse` # Installation diff --git a/docs/index.html b/docs/index.html index 13c0cf78d..9eb124684 100644 --- a/docs/index.html +++ b/docs/index.html @@ -70,31 +70,36 @@

Larvitar

Dicom Image Toolkit for CornestoneJS

-

Current version: 0.9.4

+

Current version: 0.9.5

This library provides common dicom functionalities to be used in web-applications. Multiplanar reformat on axial, sagittal and coronal viewports is included as well as custom loader/exporter for nrrd files and orthogonal reslice.

Full documentation is available at http://www.dvisionlab.com/Larvitar/.

Contributors

@@ -107,10 +112,14 @@

Contributors

Dependencies

Installation

yarn add larvitar

diff --git a/docs/tools_thresholdsBrushTool.js.html b/docs/tools_thresholdsBrushTool.js.html index 0b92b5711..326a7c420 100644 --- a/docs/tools_thresholdsBrushTool.js.html +++ b/docs/tools_thresholdsBrushTool.js.html @@ -147,7 +147,7 @@

tools/thresholdsBrushTool.js

const { rows, columns } = image; const x0 = Math.floor(xCoord); const y0 = Math.floor(yCoord); - const circleArray = []; + let circleArray = []; // if no thresholds, set all pixels range if (!thresholds) { diff --git a/imaging/tools/thresholdsBrushTool.js b/imaging/tools/thresholdsBrushTool.js index 095a6f8c2..a586cf154 100644 --- a/imaging/tools/thresholdsBrushTool.js +++ b/imaging/tools/thresholdsBrushTool.js @@ -95,7 +95,7 @@ function getCircleWithThreshold( const { rows, columns } = image; const x0 = Math.floor(xCoord); const y0 = Math.floor(yCoord); - const circleArray = []; + let circleArray = []; // if no thresholds, set all pixels range if (!thresholds) { diff --git a/package.json b/package.json index cb4a56aa5..755b4ff7c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "dicom", "imaging" ], - "version": "0.9.4", + "version": "0.9.5", "description": "javascript library for loading, rendering and interact with DICOM images", "main": "index.js", "repository": {