
Generate an HTML5 Zero-Footprint Medical Imaging Viewer Scaffold
Source:R/app-shiny.R
server_viewer_html.RdProduces a lightweight HTML5 container configured for Cornerstone3D (DICOMweb WADO-RS) or NiiVue (NIfTI / 3D overlay QA).
Usage
server_viewer_html(
study_uid = "",
viewer = c("cornerstone3d", "niivue"),
dicomweb_url = "/dicomweb"
)Examples
html <- server_viewer_html("1.2.840.113619.2.55", viewer = "cornerstone3d")
grepl("cornerstone3d", html)
#> [1] TRUE