Skip to content

Commit

Permalink
NO pixel data case fixed (#312)
Browse files Browse the repository at this point in the history
* NO pixel data case fixed

* version + docs + build + name metadata changed

* logs removed
checked customization is valid even in this case

* Update docs

* Update docs

* Update docs

* fix: log

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: daron1337 <[email protected]>
  • Loading branch information
3 people authored Feb 22, 2024
1 parent 16e6beb commit 0533a5d
Show file tree
Hide file tree
Showing 41 changed files with 912 additions and 847 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

## Dicom Image Toolkit for CornerstoneJS

### Current version: 2.3.0
### Current version: 2.3.1

### Latest Published Release: 2.3.0
### Latest Published Release: 2.3.1

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

Expand Down
2 changes: 1 addition & 1 deletion dist/imaging/tools/segmentation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export declare function clearSegmentationState(): void;
* Anyway, the activated tool name is returned
* @param {Object} options - An object containing configuration values (eg radius, thresholds, etc...)
*/
export declare function enableBrushTool(viewports: string[], options: BrushProperties): "Brush" | "ThresholdsBrush";
export declare function enableBrushTool(viewports: string[], options: BrushProperties): "ThresholdsBrush" | "Brush";
/**
* Disable brushing
* This function disables both brush tools, if found active on `viewports`
Expand Down
322 changes: 169 additions & 153 deletions dist/larvitar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/larvitar.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/documentation/Tools.Annotation.LengthTool.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ <h4 class="name" id="LengthTool"><span class="type-signature"></span>new LengthT

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line163956">line 163956</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line163973">line 163973</a>
</li></ul></dd>


Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ <h3> </h3>
<h1 id="larvitar">Larvitar</h1>
<p><a href="https://github.com/dvisionlab/Larvitar"><img src="https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&amp;prefix=%E2%89%A5&amp;suffix=%25&amp;query=$.typeCoverage.atLeast&amp;uri=https%3A%2F%2Fraw.githubusercontent.com%2Fplantain-00%2Ftype-coverage%2Fmaster%2Fpackage.json" alt="type-coverage"></a></p>
<h2 id="dicom-image-toolkit-for-cornerstonejs">Dicom Image Toolkit for CornerstoneJS</h2>
<h3 id="current-version%3A-2.3.0">Current version: 2.3.0</h3>
<h3 id="latest-published-release%3A-2.3.0">Latest Published Release: 2.3.0</h3>
<h3 id="current-version%3A-2.3.1">Current version: 2.3.1</h3>
<h3 id="latest-published-release%3A-2.3.1">Latest Published Release: 2.3.1</h3>
<p>This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.</p>
<h2 id="features%3A">Features:</h2>
<ul>
Expand Down
323 changes: 170 additions & 153 deletions docs/documentation/larvitar.js.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/documentation/module-imaging_imageCustomTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h4 class="name" id="~changeOffsets"><span class="type-signature type-signature-

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156882">line 156882</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156880">line 156880</a>
</li></ul></dd>


Expand Down Expand Up @@ -625,7 +625,7 @@ <h4 class="name" id="~preProcessByteArray"><span class="type-signature type-sign

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156837">line 156837</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156835">line 156835</a>
</li></ul></dd>


Expand Down Expand Up @@ -803,7 +803,7 @@ <h4 class="name" id="~preProcessTag"><span class="type-signature type-signature-

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156816">line 156816</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156814">line 156814</a>
</li></ul></dd>


Expand Down Expand Up @@ -1011,7 +1011,7 @@ <h4 class="name" id="~sortTags"><span class="type-signature type-signature-inner

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156775">line 156775</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156773">line 156773</a>
</li></ul></dd>


Expand Down
18 changes: 9 additions & 9 deletions docs/documentation/module-imaging_imageIo.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h1 class="page-title">imaging/imageIo</h1>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156914">line 156914</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156912">line 156912</a>
</li></ul></dd>


Expand Down Expand Up @@ -192,7 +192,7 @@ <h4 class="name" id="~buildData"><span class="type-signature type-signature-inne

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157002">line 157002</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157000">line 157000</a>
</li></ul></dd>


Expand Down Expand Up @@ -374,7 +374,7 @@ <h4 class="name" id="~buildDataAsync"><span class="type-signature type-signature

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157062">line 157062</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157060">line 157060</a>
</li></ul></dd>


Expand Down Expand Up @@ -581,7 +581,7 @@ <h4 class="name" id="~buildHeader"><span class="type-signature type-signature-in

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156939">line 156939</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156937">line 156937</a>
</li></ul></dd>


Expand Down Expand Up @@ -739,7 +739,7 @@ <h4 class="name" id="~exportImageToBase64"><span class="type-signature type-sign

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157135">line 157135</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157133">line 157133</a>
</li></ul></dd>


Expand Down Expand Up @@ -894,7 +894,7 @@ <h4 class="name" id="~exportImageToBase64OriginalSizes"><span class="type-signat

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157154">line 157154</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157152">line 157152</a>
</li></ul></dd>


Expand Down Expand Up @@ -1049,7 +1049,7 @@ <h4 class="name" id="~getCachedPixelData"><span class="type-signature type-signa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156977">line 156977</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line156975">line 156975</a>
</li></ul></dd>


Expand Down Expand Up @@ -1207,7 +1207,7 @@ <h4 class="name" id="~importNRRDImage"><span class="type-signature type-signatur

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157123">line 157123</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157121">line 157121</a>
</li></ul></dd>


Expand Down Expand Up @@ -1365,7 +1365,7 @@ <h4 class="name" id="~mapToRange"><span class="type-signature type-signature-inn

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157198">line 157198</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157196">line 157196</a>
</li></ul></dd>


Expand Down
10 changes: 5 additions & 5 deletions docs/documentation/module-imaging_imageLayers.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h1 class="page-title">imaging/imageLayers</h1>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157219">line 157219</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157217">line 157217</a>
</li></ul></dd>


Expand Down Expand Up @@ -194,7 +194,7 @@ <h4 class="name" id="getActiveLayer"><span class="type-signature"></span>getActi

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157294">line 157294</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157292">line 157292</a>
</li></ul></dd>


Expand Down Expand Up @@ -352,7 +352,7 @@ <h4 class="name" id="setActiveLayer"><span class="type-signature"></span>setActi

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157312">line 157312</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157310">line 157310</a>
</li></ul></dd>


Expand Down Expand Up @@ -511,7 +511,7 @@ <h4 class="name" id="updateLayer"><span class="type-signature"></span>updateLaye

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157263">line 157263</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157261">line 157261</a>
</li></ul></dd>


Expand Down Expand Up @@ -694,7 +694,7 @@ <h4 class="name" id="~buildLayers"><span class="type-signature type-signature-in

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157239">line 157239</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157237">line 157237</a>
</li></ul></dd>


Expand Down
22 changes: 11 additions & 11 deletions docs/documentation/module-imaging_imageLoading.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h1 class="page-title">imaging/imageLoading</h1>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157339">line 157339</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157337">line 157337</a>
</li></ul></dd>


Expand Down Expand Up @@ -188,7 +188,7 @@ <h4 class="name" id="~globalConfig"><span class="type-signature type-signature-i

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157363">line 157363</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157361">line 157361</a>
</li></ul></dd>


Expand Down Expand Up @@ -371,7 +371,7 @@ <h4 class="name" id="initializeFileImageLoader"><span class="type-signature"></s

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157425">line 157425</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157423">line 157423</a>
</li></ul></dd>


Expand Down Expand Up @@ -456,7 +456,7 @@ <h4 class="name" id="initializeImageLoader"><span class="type-signature"></span>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157392">line 157392</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157390">line 157390</a>
</li></ul></dd>


Expand Down Expand Up @@ -591,7 +591,7 @@ <h4 class="name" id="initializeWebImageLoader"><span class="type-signature"></sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157409">line 157409</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157407">line 157407</a>
</li></ul></dd>


Expand Down Expand Up @@ -676,7 +676,7 @@ <h4 class="name" id="registerDsaImageLoader"><span class="type-signature"></span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157461">line 157461</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157459">line 157459</a>
</li></ul></dd>


Expand Down Expand Up @@ -761,7 +761,7 @@ <h4 class="name" id="registerMultiFrameImageLoader"><span class="type-signature"

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157452">line 157452</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157450">line 157450</a>
</li></ul></dd>


Expand Down Expand Up @@ -846,7 +846,7 @@ <h4 class="name" id="registerNRRDImageLoader"><span class="type-signature"></spa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157434">line 157434</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157432">line 157432</a>
</li></ul></dd>


Expand Down Expand Up @@ -931,7 +931,7 @@ <h4 class="name" id="registerResliceLoader"><span class="type-signature"></span>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157443">line 157443</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157441">line 157441</a>
</li></ul></dd>


Expand Down Expand Up @@ -1016,7 +1016,7 @@ <h4 class="name" id="updateLoadedStack"><span class="type-signature"></span>upda

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157470">line 157470</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157468">line 157468</a>
</li></ul></dd>


Expand Down Expand Up @@ -1223,7 +1223,7 @@ <h4 class="name" id="~isNewInstance"><span class="type-signature type-signature-

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157601">line 157601</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157599">line 157599</a>
</li></ul></dd>


Expand Down
16 changes: 8 additions & 8 deletions docs/documentation/module-imaging_imageParsing.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h1 class="page-title">imaging/imageParsing</h1>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157627">line 157627</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157625">line 157625</a>
</li></ul></dd>


Expand Down Expand Up @@ -192,7 +192,7 @@ <h4 class="name" id="clearImageParsing"><span class="type-signature"></span>clea

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157650">line 157650</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157648">line 157648</a>
</li></ul></dd>


Expand Down Expand Up @@ -327,7 +327,7 @@ <h4 class="name" id="parseDataSet"><span class="type-signature"></span>parseData

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157694">line 157694</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157692">line 157692</a>
</li></ul></dd>


Expand Down Expand Up @@ -510,7 +510,7 @@ <h4 class="name" id="readFile"><span class="type-signature"></span>readFile<span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157683">line 157683</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157681">line 157681</a>
</li></ul></dd>


Expand Down Expand Up @@ -670,7 +670,7 @@ <h4 class="name" id="readFiles"><span class="type-signature"></span>readFiles<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157672">line 157672</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157670">line 157670</a>
</li></ul></dd>


Expand Down Expand Up @@ -830,7 +830,7 @@ <h4 class="name" id="~parseFile"><span class="type-signature type-signature-inne

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157847">line 157847</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157845">line 157845</a>
</li></ul></dd>


Expand Down Expand Up @@ -990,7 +990,7 @@ <h4 class="name" id="~parseFiles"><span class="type-signature type-signature-inn

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157827">line 157827</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157825">line 157825</a>
</li></ul></dd>


Expand Down Expand Up @@ -1150,7 +1150,7 @@ <h4 class="name" id="~parseNextFile"><span class="type-signature type-signature-

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157769">line 157769</a>
<a href="larvitar.js.html">larvitar.js</a>, <a href="larvitar.js.html#line157767">line 157767</a>
</li></ul></dd>


Expand Down
Loading

0 comments on commit 0533a5d

Please sign in to comment.