From c608ae352dc51511cc201d28da894680290983ec Mon Sep 17 00:00:00 2001 From: jimpeo Date: Fri, 21 Apr 2023 14:53:13 +0800 Subject: [PATCH] Merge branch 'master' of https://github.com/jimpeo/conrnerstone-examples --- Cornerstone.html | 87 ++++---- CornerstoneBaseToolsUse.html | 79 ++++++- CornerstoneImageBasicOperation.html | 6 +- CornerstoneMeasureToolsUse.html | 57 ++++-- CornerstoneTools.html | 4 +- CornerstoneToolsSwitchImages.html | 32 +-- CrosshairsTool.html | 305 ++++++++++++++-------------- MeasurementData.html | 119 +++++++++++ ReferenceLinesTool.html | 204 ++++++++++++------- Synchronizer.html | 5 +- 10 files changed, 591 insertions(+), 307 deletions(-) create mode 100644 MeasurementData.html diff --git a/Cornerstone.html b/Cornerstone.html index 7775f3b..ca44535 100644 --- a/Cornerstone.html +++ b/Cornerstone.html @@ -1,45 +1,48 @@ - - - - - 最简单的例子 - - - - - - -
- - - + + + + + cornerstone 基本使用 + + + + + + + +
+ + + + \ No newline at end of file diff --git a/CornerstoneBaseToolsUse.html b/CornerstoneBaseToolsUse.html index 976c2e9..7634db0 100644 --- a/CornerstoneBaseToolsUse.html +++ b/CornerstoneBaseToolsUse.html @@ -5,7 +5,7 @@ - 最简单的例子 + 基础工具使用 @@ -92,7 +92,7 @@ const element = $(".enabledElement")[0]; const imageId = - "wadouri:http://182.92.128.9/file-system-online/dicom/CT/chest_lung/2/1.dcm"; + "wadouri:https://182.92.128.9/file-system-online/dicom/CT/chest_lung/1/2.dcm"; cornerstone.enable(element); @@ -102,7 +102,7 @@ $(window).resize(() => { cornerstone.resize(element); - }) + }); $(".operation") .children() diff --git a/CornerstoneMeasureToolsUse.html b/CornerstoneMeasureToolsUse.html index ebab9e9..a9671f4 100644 --- a/CornerstoneMeasureToolsUse.html +++ b/CornerstoneMeasureToolsUse.html @@ -5,7 +5,7 @@ - 最简单的例子 + 测量工具的使用 - - - - - + + + +
+
+
+
+ + + + + const StackScrollMouseWheelTool = + cornerstoneTools.StackScrollMouseWheelTool; + + cornerstoneTools.addToolForElement( + axialElement, + StackScrollMouseWheelTool + ); + cornerstoneTools.setToolActiveForElement( + axialElement, + "StackScrollMouseWheel", + { mouseButtonMask: 4 } + ); + }); + + \ No newline at end of file diff --git a/MeasurementData.html b/MeasurementData.html new file mode 100644 index 0000000..18888af --- /dev/null +++ b/MeasurementData.html @@ -0,0 +1,119 @@ + + + + + + + + 测量数据的提取与回显 + + + + + + + + + + + + +
+ +
+
+
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/ReferenceLinesTool.html b/ReferenceLinesTool.html index 4a5dcbb..b1e0db8 100644 --- a/ReferenceLinesTool.html +++ b/ReferenceLinesTool.html @@ -4,6 +4,7 @@ + 辅助线工具的使用 \ No newline at end of file diff --git a/Synchronizer.html b/Synchronizer.html index 46e2650..f9dfb48 100644 --- a/Synchronizer.html +++ b/Synchronizer.html @@ -4,6 +4,7 @@ + 同步器的使用