Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
dicom-microscopy-viewer
Advanced tools
Web-based viewer for DICOM Visible Light Whole Slide Microscopy Images
Vanilla JS library for web-based visualization of DICOM VL Whole Slide Microscopy Image datasets. The library relies on Openlayers for rendering pyramid images and retrieves pyramid tiles (image frames) using DICOMweb WADO-RS.
Install the dicom-microscopy-viewer package using the npm
package manager:
npm install dicom-microscopy-viewer
Build and test code locally:
git clone https://github.com/dcmjs-org/dicom-microscopy-viewer ~/dicom-microscopy-viewer
cd ~/dicom-microscopy-viewer
npm install
npm run build
npm test
We use rollup for bundling and mochify for testing (based on mocha and chai).
The viewer can be embedded in any website.
To this end
Create an instance of the DICOMMicroscopy
viewer. The constructor requires an instance of DICOMwebClient
for retrieving frames from the archive as well as the Study Instance UID and Series Instance UID.
Call the render()
method, passing it the HTML element or the name of the element, which shall contain the viewport.
const url = 'http://localhost:8080/dicomweb';
const client = new DICOMwebClient.api.DICOMwebClient({url});
const studyInstanceUID = '1.2.3.4';
const seriesInstanceUID = '1.2.3.5';
const viewer = new DICOMMicroscopyViewer.api.DICOMMicroscopyViewer({
client,
studyInstanceUID,
seriesInstanceUID
});
viewer.render({container: "viewport"});
This is work-in-progress and should not be used in clinical practice.
The viewer allows visualization of VL Whole Slide Microscopy Image datasets stored in a DICOMweb compatible archive. It leverages the dicomweb-client JavaScript library to retrieve data from the archive.
Currently, the viewer only supports
The developers gratefully acknowledge their reseach support:
FAQs
Interactive web-based viewer for DICOM Microscopy Images
The npm package dicom-microscopy-viewer receives a total of 2,934 weekly downloads. As such, dicom-microscopy-viewer popularity was classified as popular.
We found that dicom-microscopy-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.