smikitky / vscode-dicom-dump Goto Github PK
View Code? Open in Web Editor NEWA vscode extension that dumps DICOM tags
Home Page: https://marketplace.visualstudio.com/items?itemName=smikitky.vscode-dicom
License: MIT License
A vscode extension that dumps DICOM tags
Home Page: https://marketplace.visualstudio.com/items?itemName=smikitky.vscode-dicom
License: MIT License
Add a link to export any binary data (including Pixel Data (7FE0,0010)) to a file, so that one can use hexdump or a similar tool to investigate its contents.
Although originially my dicom files did not have any extension at all, adding .dcm or .dicom does not result in the context menu options. When I load the files, I get the default warning the file is not displayed because it's binary or has an unsupported encoding. Opening it anyway, or not, both don't result in the context options. Through dicom-parsers online demo it seems like there's nothing wrong with the files (all other tooling we have handles them fine too).
I restarted vsc and reinstalled the plugin a few times, no dice.
I use VSCodium, would that make a difference? It hasn't for any other plugin I use so far...
This is not issue. just request.
dicom.showPrivateTags is set true, (odds,00XX) tag is known as Private Creator, VR LO.
But still ?? ? = <binary data of length: are displayed.
I understand dicom.dictionary doesn't handle Private Creator. so this is skipped.
extractor.ts line# 149 around. findTagInfo(). add follows to show Private Creator.
if(/[13579bdf]/i.test(tag[4])/*isPrivateTag*/ && tag.substring(5, 7) === '00') { return { name: 'PrivateCreator', vr: 'LO'}; }
Like .dcm and .dicom, worklist files also have a DICOM structure and should be dumped to text/JSON files. The current workaround is to change the .wl file extension to .dcm.
Doing Kaggle.com on RNSA and wanted to view dicom data in visual basic.
Found your code while searching for a vb.net viewer/decoder.
Added and installed in VS code - latest version. Anytime I come near you code it locks up system - eventually message to reopen window. Have not tried installing in Visual Studio.
Should it work in VS Code ? It certainly seems to install there ok.
The image data can be displayed in the Java link you supplied - so they are good.
Currently this extension cannot handle Korean characters (Hangul). What DICOM standard says is as follows:
ESC 02/04 02/08 04/03
01/11 02/04 02/09 04/03
or ESC $ ) C
(i.e., "Use Hangul from here")The problems is that ISO-2022-KR is a very rare encoding and I cannot find a pure-JS decoder for that. Seemingly EUC-KR is very similar, and CP949 is a superset of EUC-KR. A hacky solution would be to just decode the text with CP949 and remove the 4-byte escape sequence using regex. This works at least in this example, but I don't know if it's the right approach.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.