{"id":18274617,"url":"https://github.com/ohif/openlayersplugin","last_synced_at":"2025-09-02T10:34:08.003Z","repository":{"id":90190839,"uuid":"142500890","full_name":"OHIF/OpenLayersPlugin","owner":"OHIF","description":"Example OHIF plugin based using OpenLayers","archived":false,"fork":false,"pushed_at":"2018-11-21T17:21:33.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-09T03:43:58.786Z","etag":null,"topics":["image-analysis","imaging-informatics","medical-image-processing","nci-itcr","ohif-plugin","quantitative-imaging"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OHIF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-26T22:38:54.000Z","updated_at":"2020-07-15T01:36:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e0cd378-6c35-4802-81c9-3521e6243fab","html_url":"https://github.com/OHIF/OpenLayersPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OHIF/OpenLayersPlugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OHIF%2FOpenLayersPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OHIF%2FOpenLayersPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OHIF%2FOpenLayersPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OHIF%2FOpenLayersPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OHIF","download_url":"https://codeload.github.com/OHIF/OpenLayersPlugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OHIF%2FOpenLayersPlugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273271606,"owners_count":25075966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-analysis","imaging-informatics","medical-image-processing","nci-itcr","ohif-plugin","quantitative-imaging"],"created_at":"2024-11-05T12:10:12.825Z","updated_at":"2025-09-02T10:34:07.958Z","avatar_url":"https://github.com/OHIF.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OHIF Microscopy Plugin\n\nOHIF microscopy plugin based on the [DICOM Microscopy Viewer](https://github.com/dcmjs-org/dicom-microscopy-viewer).\n\n1. Load the OHIF Viewer on a study\n2. Paste the following into your JavaScript console to define the plugin and load the scripts.\n\n````javascript\nvar plugin = {\n    name: \"MicroscopyPlugin\",\n    url: \"https://cdn.rawgit.com/OHIF/OpenLayersPlugin/master/microscopy/microscopy.js\",\n    allowCaching: false,\n    scriptURLs: [\n        \"https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.1.3/build/ol.js\",\n        \"https://unpkg.com/dicomweb-client\",\n        \"https://cdn.rawgit.com/dcmjs-org/dicom-microscopy-viewer/feature/annotations/build/dicom-microscopy-viewer.js\"\n    ]\n};\nOHIF.plugins.OHIFPlugin.reloadPlugin(plugin);\n````\n\n3. Switch a viewport to use the plugin by specifying its viewport index:\n\n````javascript\nOHIF.plugins.MicroscopyPlugin.setViewportToPlugin(0)\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohif%2Fopenlayersplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohif%2Fopenlayersplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohif%2Fopenlayersplugin/lists"}