r</h1> 
      <label for="dicom-input">Upload DICOM file:</label> <input type="file" id="dicom-input" name="dicom-input" accept=".dicom,.dcm">
      <div class="input-image" id="input-image">
        <p>Or Drag and Drop Image Here</p> 
        <canvas id="image-canvas" width="200" height="100"></canvas>
      </div>
    </div>
    <script type="text/javascript">

      // Helper routines 'framesAreFragmented' and 'getEncapsulatedImageFrame' taken from https://github.com/cornerstonejs/cornerstoneWADOImageLoa