Comments (2)
this is a Windows Powershell workaround:
$inputDirectory = "C:\Users\zdava\gdt"
$outputDirectory = "C:\Users\zdava\dicom"
Get-ChildItem -Path $inputDirectory -Filter "*.gdt" | ForEach-Object {
$gdtFile = $_.FullName
$outputFile = Join-Path $outputDirectory ([System.IO.Path]::GetFileNameWithoutExtension($gdtFile) + ".dcm")
& "C:\Users\zdava\Downloads\gdt2dicom.exe" --gdt-file $gdtFile --jpegs C:\Users\zdava\img --output $outputFile
}
Get-ChildItem -Path $outputDirectory -Filter "*.dcm" | ForEach-Object {
& "dcmodify" -i "0008,0060=ECG" "$($_.FullName)"
& "dcmodify" -i "0032,1060=holter" "$($_.FullName)"
}
from gdt2dicom.
Also use dcmsend
$inputDirectory = "C:\Users\zdava\gdt"
$outputDirectory = "C:\Users\zdava\dicom"
Get-ChildItem -Path $inputDirectory -Filter "*.gdt" | ForEach-Object {
$gdtFile = $_.FullName
$outputFile = Join-Path $outputDirectory ([System.IO.Path]::GetFileNameWithoutExtension($gdtFile) + ".dcm")
& "C:\Users\zdava\Downloads\gdt2dicom.exe" --gdt-file $gdtFile --jpegs C:\Users\zdava\img --output $outputFile
}
Get-ChildItem -Path $outputDirectory -Filter "*.dcm" | ForEach-Object {
& "dcmodify" -i "0008,0060=ECG" "$($_.FullName)"
& "dcmodify" -i "0032,1060=holter" "$($_.FullName)"
}
Get-ChildItem -Path $outputDirectory -Filter *.dcm | Copy-Item -Destination "C:\Users\zdava\dicom\hscribe\"
Get-ChildItem -Path "C:\Users\zdava\dicom\hscribe\" -Filter *.dcm | foreach { & dcmsend.exe 192.168.0.11 8321 $_.FullName }
from gdt2dicom.
Related Issues (20)
- First name and family Name are still wrong HOT 2
- Wrong date format HOT 3
- Raymed, VXvue HOT 2
- Start Worklist Server
- Create `gdt2opp` for Dexis software. HOT 2
- Worklist Server conversion for VividIQ by GE (Mobile) HOT 4
- Implement gdt2vdds
- Grab JPGs reclusively
- byzz Orangedental GDT Import und JPEG Export
- rename gdt file for Physioport
- Grab Dicom Tags and rename the file
- Cargo Build Error auf Linux HOT 1
- Rename file names based on text file comparison HOT 1
- 3Shape Support HOT 2
- Canon `Aplio A` Pflichtfelder HOT 3
- Mortara H-Scribe, X-Scribe not doing a single network request to the Worklist HOT 3
- StoreSCP HOT 3
- gdt2vdds: `thread 'main' panicked at src\bin\gdt2vdds.rs:72:52:` HOT 1
- `cargo build` error on Windows HOT 1
- `dicom2gdt` does not put Patient ID first in exported png file name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdt2dicom.