GithubHelp home page GithubHelp logo

StoreSCP about gdt2dicom HOT 3 CLOSED

zdavatz avatar zdavatz commented on June 9, 2024
StoreSCP

from gdt2dicom.

Comments (3)

zdavatz avatar zdavatz commented on June 9, 2024
  1. Test sending a DCM file: storescu 192.168.14.21 257 .\PDF.1.3.6.1.4.1.20029.60.20240127144849872
  2. File arrived at server running with: storescp.exe -d 257

from gdt2dicom.

zdavatz avatar zdavatz commented on June 9, 2024

trying these options: storescp.exe -pm +v -d 257

from gdt2dicom.

zdavatz avatar zdavatz commented on June 9, 2024
  1. Run the Cstore Server with: storescp.exe -d -xf .\storescp.cfg Default 257
  2. Extract all images from the DICOM file and prepend the ID.
param(
    [Parameter(Mandatory=$true)]
    [string]$ID,

    [Parameter(Mandatory=$true)]
    [string]$DicomInstanceUID
)

# Run the dcmj2pnm command directly in PowerShell
dcmj2pnm --write-png $DicomInstanceUID .\jpgs\ --all-frames

# Get the generated files
$files = Get-ChildItem -Path .\jpgs\ -Filter *.png -File

# Rename each file with the prepended ID
$files | ForEach-Object {
    $newName = "$ID$($_.Name)"
    Rename-Item -Path $_.FullName -NewName $newName
}
  1. then run it with:
  2. .\dcm2png.ps1 -ID 20324_ -DicomInstanceUID .\USm.1.2.840.113619.2.435.385968960.1709817178.8.1.512

from gdt2dicom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.