This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
pip_install("open3d") | |
rename "/c/Program\ Files/Azure\ Kinect\ SDK\ v1.4.0/tools/k4a.dll" by changing 1.4 to 1.2 | |
path="c:/pieper/facenav/facenav.py" | |
exec(open(path).read()) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright Steve Pieper | |
# https://github.com/Slicer/Slicer/blob/master/License.txt | |
# Demo video: https://youtu.be/xcQKj4yp2nw | |
""" | |
exec(open('/Users/pieper/slicer/latest/SlicerTMSGuide/guide.py', 'r').read()) | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta | |
name="description" | |
content="Open Health Imaging Foundation DICOM Viewer" | |
/> | |
<meta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
et install libqt5webchannel5-dev | |
63 rm -rm * | |
64 rm -rf * | |
65 ~/Support/cmake-3.13.4-Linux-x86_64/bin/cmake ../slicer/ | |
66 rm -rf * | |
67 apt-file search Qt5WebEngineWidgetsConfig.cmake | |
68 sudo apt-get install qtwebengine5-dev | |
69 ~/Support/cmake-3.13.4-Linux-x86_64/bin/cmake ../slicer/ | |
70 rm -rf * | |
71 apt-file search Qt5XmlPatternsConfig.cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# create classes defining the behavior of each step | |
# | |
class sInitial(ctk.ctkWorkflowWidgetStep, ) : | |
"""Initial state of the MRRobot workflow""" | |
def __init__(self, stepid, workflowWidget): | |
self.initialize(stepid) | |
self.workflowWidget = workflowWidget | |
self.setName( 'Create or load a case' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>dcmjs-example - iodide</title> | |
<link rel="stylesheet" type="text/css" href="https://iodide.io/stable/iodide.stable.css"> | |
</head> | |
<body> | |
<script id="jsmd" type="text/jsmd"> | |
%% meta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This can be pasted into the wip-add-dcmjs branch of git@github.com:ohif/Viewers | |
// to store current length measurements back to the source DICOMweb server. | |
function parametersFromImageId(imageId) { | |
const decodedImageId = decodeURIComponent(imageId); | |
return(new URLSearchParams(decodedImageId)); | |
} | |
function parametersFromToolState() { | |
const imageToolState = cornerstoneTools.globalImageIdSpecificToolStateManager.saveToolState(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import WebServer | |
tracts = ['AF', 'CST_M1', 'IFOF', 'ILF', 'UF']; | |
exportDirectory = '/Volumes/encrypted/data/AG/AG1611-SlicerWeb/tracts' | |
targetTubeCount = 100 | |
for tract in tracts: | |
tubeNodes = slicer.util.getNodes('vtkMRMLFiberBundleTubeDisplayNode*', useLists=True).values() | |
for tubeNode in tubeNodes[0]: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diffs: | |
#6 Slicer (support-qt5 *$>)$ git diff | |
diff --git a/Base/QTGUI/qSlicerWebWidget.h b/Base/QTGUI/qSlicerWebWidget.h | |
index 4eb852681..362115fd8 100644 | |
--- a/Base/QTGUI/qSlicerWebWidget.h | |
+++ b/Base/QTGUI/qSlicerWebWidget.h | |
@@ -40,7 +40,8 @@ class QWebEngineView; | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var current = document.createElement('p'); | |
document.body.appendChild(current); |