Mercurial > hg > orthanc-tests
view Database/Series/Generate.sh @ 362:e31ddbe83d4d
Added tag Orthanc-1.8.2 for changeset 6cf5cc4d0a99
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Dec 2020 15:19:56 +0100 |
parents | a05cc24f84e5 |
children |
line wrap: on
line source
#!/bin/bash set -e convert -quality 90 -resize 128x128 ../Lena.png /tmp/Lena.jpg function Generate() { echo $1 img2dcm /tmp/Lena.jpg Lena-$1.dcm \ -k "ImagesInAcquisition=2" \ -k "NumberOfTemporalPositions=2" \ -k "InstanceNumber=$1" \ -k "StudyInstanceUID=1.2.840.113619.2.176.2025.1499492.7391.1171285944.390" \ -k "SeriesInstanceUID=1.2.840.113619.2.176.2025.1499492.7391.1171285944.394" } Generate 1 Generate 2 Generate 3 Generate 4 Generate 5