marcodebe / dicom-ecg-plot Goto Github PK
View Code? Open in Web Editor NEWDicom ECG Viewer and Converter. Convert to PDF, PNG, JPG, SVG, ...
Home Page: https://ecg.galliera.it
License: MIT License
Dicom ECG Viewer and Converter. Convert to PDF, PNG, JPG, SVG, ...
Home Page: https://ecg.galliera.it
License: MIT License
Hi!!
When plotting the same ECG type DICOM object, we noticed differences in the generated result.
Basically it is in relation to where the boxes are painted with the structured information that is extracted from the DICOM object (demographics and ECG metadata). Is there a way so that what is generated through the python script is the same as what is generated by the web?
It is cleaner and more legible if the information is left off the "paper" on which the ECG waveforms are painted.
Thank you!!
It doesn't work.The ECTViewer.exe program warnned "Failed to open file." when I open some dcm file.
These dependencies are missing:
libpng12-dev
(in debian), needed to build matplotlib
liblapack-3.so
(in debian), required by numpydocopt
requests
I want use convert.py in java ,how do I do?
run dicom-ecg-plot 000.dcm abc.dcm
Traceback (most recent call last):
File "c:\Users\jiangyl\Anaconda3\Scripts\dicom-ecg-plot", line 62, in
minor_axis, interpretation)
File "c:\Users\jiangyl\Anaconda3\Scripts\dicom-ecg-plot", line 38, in convert
ecg = ECG(source)
File "F:\Users\jiangyl\Anaconda3\lib\site-packages\ecg\ecg.py", line 183, in init
sequence_item = self.dicom.WaveformSequence[0]
File "F:\Users\jiangyl\Anaconda3\lib\site-packages\pydicom\dataset.py", line 783, in getattr
return object.getattribute(self, name)
AttributeError: 'FileDataset' object has no attribute 'WaveformSequence'
I am getting following error while running dicom-ecg-plot.exe program on windows
Kindly anyone help me to fix this issue
Sample file is attached here with for the reference
dicom-ecg-plot.exe C:\ecg.dcm --layout 6x2 --output c:\result.png`
[ecg.zip](https://github.com/marcodebe/dicom-ecg-plot/files/8012811/ecg.zip)
Matplotlib is building the font cache; this may take a moment.
Traceback (most recent call last):
File "dicom-ecg-plot.py", line 62, in <module>
File "dicom-ecg-plot.py", line 39, in convert
File "ecg\ecg.py", line 588, in draw
File "ecg\ecg.py", line 456, in print_info
File "ecg\ecg.py", line 367, in legend
TypeError: must be real number, not str
[10348] Failed to execute script 'dicom-ecg-plot' due to unhandled exception!
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.