Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Help! I'm trapped in a PDP 11/70!


devel / comp.protocols.dicom / Re: movescu - store a study to local storage

SubjectAuthor
* movescu - store a study to local storageBahman Kasmai
`* movescu - store a study to local storageBahman Kasmai
 `- movescu - store a study to local storageguiot...@gmail.com

1
movescu - store a study to local storage

<bbfd89aa-f1a9-47d8-b3ed-52cfb4f528b7n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1254&group=comp.protocols.dicom#1254

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:588:b0:2f3:bca9:ea34 with SMTP id c8-20020a05622a058800b002f3bca9ea34mr24111027qtb.601.1652878400484;
Wed, 18 May 2022 05:53:20 -0700 (PDT)
X-Received: by 2002:a05:6214:29e8:b0:45a:c5a6:c23e with SMTP id
jv8-20020a05621429e800b0045ac5a6c23emr24711700qvb.27.1652878400139; Wed, 18
May 2022 05:53:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Wed, 18 May 2022 05:53:19 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=208.127.198.60; posting-account=rxfqiAoAAABcJu19dJHHUXuKsUS74c3T
NNTP-Posting-Host: 208.127.198.60
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bbfd89aa-f1a9-47d8-b3ed-52cfb4f528b7n@googlegroups.com>
Subject: movescu - store a study to local storage
From: bkasmai@gmail.com (Bahman Kasmai)
Injection-Date: Wed, 18 May 2022 12:53:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2170
 by: Bahman Kasmai - Wed, 18 May 2022 12:53 UTC

It appears that the following script is working as shown below with output:

movescu -v -S -k 0008,0052=STUDY -aet MY_PC -aec OUR_PACS 10.145.95.154 104 -k 0020,000D=1.2.840.113845.11.1000000001951524609.20220512122506.3581149 -k 0010,0020=1234567
I: Requesting Association
I: Association Accepted (Max Send PDV: 64988)
I: Sending Move Request (MsgID 1)
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
I: (0010,0020) LO [0427192] # 8, 1 PatientID
I: (0020,000d) UI [1.2.840.113845.11.1000000001951524609.20220512122506.3581149] # 60, 1 StudyInstanceUID
I:
I: Received Move Response 1 (Pending)
I: Received Move Response 2 (Pending)
I: Received Final Move Response (Success)
I: Releasing Association

However when I add "-od h:\dcmtk-storage" to store the study to a local storage h:\dcmtk-storage i get the following error:

movescu: DICOM retrieve (C-MOVE) SCU
error: --output-directory only allowed with --port

What am I doing wrong? Any help on this will be appreciated.

Re: movescu - store a study to local storage

<05f66348-d946-4c9f-aaeb-7221e6aa1f1cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1255&group=comp.protocols.dicom#1255

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:ac8:5c8b:0:b0:2f3:dd2f:b512 with SMTP id r11-20020ac85c8b000000b002f3dd2fb512mr696537qta.625.1652894344711;
Wed, 18 May 2022 10:19:04 -0700 (PDT)
X-Received: by 2002:a0c:f0c3:0:b0:461:d824:c66e with SMTP id
d3-20020a0cf0c3000000b00461d824c66emr538512qvl.111.1652894344400; Wed, 18 May
2022 10:19:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Wed, 18 May 2022 10:19:04 -0700 (PDT)
In-Reply-To: <bbfd89aa-f1a9-47d8-b3ed-52cfb4f528b7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=31.185.138.230; posting-account=rxfqiAoAAABcJu19dJHHUXuKsUS74c3T
NNTP-Posting-Host: 31.185.138.230
References: <bbfd89aa-f1a9-47d8-b3ed-52cfb4f528b7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <05f66348-d946-4c9f-aaeb-7221e6aa1f1cn@googlegroups.com>
Subject: Re: movescu - store a study to local storage
From: bkasmai@gmail.com (Bahman Kasmai)
Injection-Date: Wed, 18 May 2022 17:19:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1539
 by: Bahman Kasmai - Wed, 18 May 2022 17:19 UTC

This was resolved when i launched storescp in another cmd window and the the images started arriving in the folder where I launched storescp. Not sure how i could structure the thousands of imported images into folders with names reflecting the study using perhaps the patient id or something different. Any advice on this will be appreciated.

Re: movescu - store a study to local storage

<c2d11144-5152-4c23-a66d-da4f02597f56n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1256&group=comp.protocols.dicom#1256

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:620a:2552:b0:67b:32e2:2400 with SMTP id s18-20020a05620a255200b0067b32e22400mr2119676qko.768.1652946370633;
Thu, 19 May 2022 00:46:10 -0700 (PDT)
X-Received: by 2002:ad4:5de1:0:b0:45a:81f5:b888 with SMTP id
jn1-20020ad45de1000000b0045a81f5b888mr2899532qvb.110.1652946370459; Thu, 19
May 2022 00:46:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Thu, 19 May 2022 00:46:10 -0700 (PDT)
In-Reply-To: <05f66348-d946-4c9f-aaeb-7221e6aa1f1cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=193.191.131.34; posting-account=ZWzKCQoAAADGl251sIFSnldJzFPWDhiz
NNTP-Posting-Host: 193.191.131.34
References: <bbfd89aa-f1a9-47d8-b3ed-52cfb4f528b7n@googlegroups.com> <05f66348-d946-4c9f-aaeb-7221e6aa1f1cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c2d11144-5152-4c23-a66d-da4f02597f56n@googlegroups.com>
Subject: Re: movescu - store a study to local storage
From: guiothomas@gmail.com (guiot...@gmail.com)
Injection-Date: Thu, 19 May 2022 07:46:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2517
 by: guiot...@gmail.com - Thu, 19 May 2022 07:46 UTC

Le mercredi 18 mai 2022 à 19:19:06 UTC+2, bka...@gmail.com a écrit :
> This was resolved when i launched storescp in another cmd window and the the images started arriving in the folder where I launched storescp. Not sure how i could structure the thousands of imported images into folders with names reflecting the study using perhaps the patient id or something different. Any advice on this will be appreciated.

Hi
from the doc of dcmtk storescp : https://support.dcmtk.org/docs/storescp.html

sorting into subdirectories (not with --bit-preserving):

-ss --sort-conc-studies [p]refix: string
sort studies using prefix p and a timestamp

-su --sort-on-study-uid [p]refix: string
sort studies using prefix p and the Study Instance UID

-sp --sort-on-patientname
sort studies using the Patient's Name and a timestamp

filename generation:

-uf --default-filenames
generate filename from instance UID (default)

+uf --unique-filenames
generate unique filenames

-tn --timenames
generate filename from creation time

-fe --filename-extension [e]xtension: string
append e to all filenames

cheers

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor