CLI To Open DICOM with Chrome
Installation package globally
-
You need to install Node.js first, https://nodejs.org/en/
-
Intall this package, either
npm install -g cli-open-dicom-with-chrome
oryarn global add cli-open-dicom-with-chrome
. If you encounter permission issue when usingnpm install
, try to addsudo
again,sudo npm install -g cli-open-dicom-with-chrome
Usage
Install DICOM image viewer (Chrome extension)
Please install chrome extension, https://chrome.google.com/webstore/detail/dicom-image-viewer/ehppmcooahfnlfhhcflpkcjmonkoindc first. It can allow you to browse online and offline local files.
Keep in mind that you need to enable Allow access to file URLs
in this chrome extension detail page.
Command example in your terminal
dicom
to launch the DICOM image viewerdicom ${file1}, ${file2}, ${folder1}
to add file/folder arguments to ask the DICOM image viewer to browse these files.