Skip to content

Commit

Permalink
Add a help button
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Feb 27, 2024
1 parent e8ec5dc commit 087ff0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<button id="processButton" disabled>Process</button>
<button id="saveButton">Save</button>
<button id="aboutButton">About</button>
<button id="helpButton">Help</button>
<button id="moreButton">More commands</button>
<label for="overlayCheck" style="color:white">Overlay</label>
<input type="checkbox" id="overlayCheck" checked />
Expand Down
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ saveButton.onclick = function () {
aboutButton.onclick = function () {
window.alert("The Difference of Gaussian (dog) allows you to specify the width (in millimeters) for two Gaussian Blurs to find edges. The buttons at the bottom let you load different modalities. Drag and drop your own images to explore other datasets.");
}
helpButton.onclick = function () {
window.alert("The `dehaze -5` removes variations in the air outside the brain. Dehaze requires a number 1..5 higher yields more surviving voxels. The `-dog 2 3.2` computes a difference of Gaussian edge detection method with 2mm and 3.2mm full-width half maximums. This roughly corresponds with the thickness of the human cortex. For smaller features (like the Iguana exmaple) you will want to choose smaller values.");
}
moreButton.onclick = function () {
window.open('https://github.com/niivue/niivue-niimath#commands');
}
Expand Down

0 comments on commit 087ff0e

Please sign in to comment.