Inspired by shared frustrations with a coworker about not having any "fun" test images to use when developing our company software, I built this in my spare time. It's built to solve a couple of problems:
- No easy way to get test medical images.
- Any medical images you get might have real patient data.
- Even if the data is blinded, some studies are pretty gnarly.
- So if your requirements are low, why not use something fun like a cat GIF from the internet?
- GIF
- MP4
- AVI
- Install FFMPEG and make sure it's added to your path
- Acquire a file in any format above from your favorite source (i.e. https://www.reddit.com/r/cinemagraphs)
- Build the solution
- In a command prompt,
cd
to the bin folder
Generate a DICOM file from an mp4
on Windows:
.\XToDicom.Cli.exe --in C:\sample.mp4 --out C:\dicomOut.dcm
Then, open it up with any free DICOM viewer (for example, MicroDICOM) and it should look something like this:
Creator credit: Reddit user InfinitySandwich's post
Generated from a scene in the movie Back to the Future
TODO: Linux & MacOS instructions
TODO: Build a pre-packaged binary in GitHub releases or publish a dotnet tool install
compatible nuget package.