Skip to content

Commit

Permalink
fix: scaling metadata should be derived from providers (#464)
Browse files Browse the repository at this point in the history
* fix: scaling metadata should be derived from cs directly

* better name for prevent scale and update builds

* fix prescale object after scale
  • Loading branch information
sedghi committed Aug 3, 2022
1 parent 798ce3f commit abb0892
Show file tree
Hide file tree
Showing 12 changed files with 31,437 additions and 169 deletions.
5,217 changes: 5,214 additions & 3 deletions packages/dicomImageLoader/examples/cornerstone.min.js

Large diffs are not rendered by default.

1,061 changes: 1,060 additions & 1 deletion packages/dicomImageLoader/examples/cornerstone.min.js.map

Large diffs are not rendered by default.

1,861 changes: 1,858 additions & 3 deletions packages/dicomImageLoader/examples/cornerstoneMath.min.js

Large diffs are not rendered by default.

391 changes: 390 additions & 1 deletion packages/dicomImageLoader/examples/cornerstoneMath.min.js.map

Large diffs are not rendered by default.

1,407 changes: 1,390 additions & 17 deletions packages/dicomImageLoader/examples/dicomParser.min.js

Large diffs are not rendered by default.

371 changes: 370 additions & 1 deletion packages/dicomImageLoader/examples/dicomParser.min.js.map

Large diffs are not rendered by default.

66 changes: 41 additions & 25 deletions packages/dicomImageLoader/examples/index.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<head>
<!-- twitter bootstrap CSS stylesheet - not required by cornerstone -->
<link href="bootstrap.min.css" rel="stylesheet">
</head>
<body>
<link href="bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<h1>CornerstoneWADOImageLoader Examples</h1>

<div class="container">
<h1>
CornerstoneWADOImageLoader Examples
</h1>
<strong
>The following examples should work on any browser that supports the
HTML5 canvas element. We currently recommend using Chrome for
development and the best end user experience. The following examples use
legacy cornerstone for rendering.</strong
>
<br />
<br />

<strong>The following examples should work on any browser that supports the HTML5 canvas element. We currently
recommend using Chrome for development and the best end user experience.</strong>
<br>
<br>

<ul>
<li><a href="wadouri/index.html">WADO-URI (DICOM P10 via HTTP GET)</a></li>
<li><a href="wadourimultiframe/index.html">WADO-URI (DICOM P10 via HTTP GET) multiframe</a></li>
<li><a href="dicomfile/index.html">dicomfile (DICOM P10 on local file system)</a></li>
<li><a href="wadors/index.html">WADO-RS RetrieveFrame (RESTful DICOMWeb)</a></li>
<li><a href="customWebWorkerTask/index.html">Custom Web Worker Task</a></li>
</ul>
</div>

</body>
</html>
<ul>
<li>
<a href="wadouri/index.html">WADO-URI (DICOM P10 via HTTP GET)</a>
</li>
<li>
<a href="wadourimultiframe/index.html"
>WADO-URI (DICOM P10 via HTTP GET) multiframe</a
>
</li>
<li>
<a href="dicomfile/index.html"
>dicomfile (DICOM P10 on local file system)</a
>
</li>
<li>
<a href="wadors/index.html"
>WADO-RS RetrieveFrame (RESTful DICOMWeb)</a
>
</li>
<li>
<a href="customWebWorkerTask/index.html">Custom Web Worker Task</a>
</li>
</ul>
</div>
</body>
</html>
3 changes: 3 additions & 0 deletions packages/dicomImageLoader/examples/wadouri/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ <h2>Deflate</h2>
<!-- include the cornerstoneWADOImageLoader library -->
<script src="../dist/cornerstoneWADOImageLoader.bundle.min.js"></script>

<script>window.cornerstone || document.write('<script src="https://unpkg.com/cornerstone-core">\x3C/script>')</script>
<script>window.cornerstoneWADOImageLoader || document.write('<script src="https://unpkg.com/cornerstone-wado-image-loader">\x3C/script>')</script>

<script src="../dicomfile/uids.js"></script>
<script src="../utils/initializeWebWorkers.js"></script>

Expand Down
Loading

0 comments on commit abb0892

Please sign in to comment.