Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
optic_disc_area_calculator [2025/02/27 04:45] Scott Larsonoptic_disc_area_calculator [2025/06/14 02:54] (current) Scott Larson
Line 1: Line 1:
 ====== Optic Disc Area Calculator ====== ====== Optic Disc Area Calculator ======
  
-<button type="link" size="sm">[[optic_disc_area_calculator|Reload Calculator]]</button>+[[https://eyefixer.org/optic-disc-area-calculator/|Click here for calculator]] 
 +=== Test Procedure === 
 +<WRAP round box>1. Obtain the Heidelberg Spectralis optic nerve report.  The report must show an image of the optic nerve head and the superimposed peripapillary ring where peripapillary segmentation was performed. \\
  
-<html> +{{::spectralis_oct_optic_nerve_report.jpg?|}} 
-<head> +</WRAP>
-  <meta charset="UTF-8"> +
-  <meta name="viewport" content="width=device-width, initial-scale=1.0"> +
-  <title>Calculate D</title> +
-</head> +
-<body> +
-  <h3>Estimate Disc Area from the Heidelberg Spectralis OCT optic nerve report</h3> +
- +
-  <form id="calc-form"> +
-    <label for="a">Measure ring diameter (mm):</label> +
-    <input type="number" id="a" step="any" placeholder="Enter Ring Diameter" required><br><br> +
- +
-    <label for="b">Measure horizontal disc diameter (mm):</label> +
-    <input type="number" id="b" step="any" placeholder="Enter Horizontal Disc Diameter" required><br><br> +
- +
-    <label for="c">Measure vertical disc diameter:</label> +
-    <input type="number" id="c" step="any" placeholder="Enter Vertical Disc Diameter" required><br><br> +
- +
-    <button type="button" onclick="calculateD()">Calculate</button> +
-  </form> +
-  <br><br> +
-  <p id="result"></p> +
- +
-  <script> +
-    function calculateD() { +
-      // Get input values +
-      const a = parseFloat(document.getElementById("a").value); +
-      const b = parseFloat(document.getElementById("b").value); +
-      const c = parseFloat(document.getElementById("c").value); +
- +
-      // Check for valid input and ensure A is not zero +
-      if (isNaN(a) || isNaN(b) || isNaN(c) || a === 0) { +
-        document.getElementById("result").textContent = "Please enter valid numbers for ring diameter, horizontal and vertical disc diameters. Values must not be zero."; +
-        return; +
-      } +
- +
-      // Calculate D using the formula D = π * (3.0625 * B * C) / (A^2) +
-      const d = Math.PI * (3.0625 * b * c) / (a * a); +
- +
-      // Display the result in bold +
-      document.getElementById("result").innerHTML = `The estimated disc area is: <strong>${d.toFixed(2)mm2</strong>`; +
-    } +
-  </script> +
-</body> +
-</html> +
- +
----- +
-=== Test Procedure === +
-<wrap hi>1. Obtain the Heidelberg Spectralis optic nerve report.  The report must show an image of the optic nerve head and the superimposed peripapillary ring where peripapillary segmentation was performed.<wrap>\\+
  
-{{::spectralis_oct_optic_nerve_report.png?|}}\\ +<WRAP round box>2. Measure ring diameter \\ 
-<wrap hi>2. Measure ring diameter</wrap> +{{::spectralis_measure_ring.jpg?|}} 
-{{::spectralis_measure_ring.png?600|}}\\ +</WRAP> 
-<wrap hi>3. Measure horizontal optic nerve diameter</wrap> +<WRAP round box>3. Measure horizontal optic nerve diameter \\ 
-{{::spectralis_horizontal_disc.png?600|}}\\ +{{::spectralis_horizontal_disc.jpg?|}} 
-<wrap hi>4. Measure vertical optic nerve diameter</wrap> +</WRAP> 
-{{::spectralis_vertical_disc.png?600|}}+<WRAP round box>4. Measure vertical optic nerve diameter \\ 
 +{{::spectralis_vertical_disc.jpg?|}} 
 +</WRAP>
  
 <WRAP round tip 60%> <WRAP round tip 60%>