STORE-SCU / MOVE-SCU: Unable to convert dataset

Hi, friends!

Is there a way to decompress images before sending them over to a remote modality when answering a MOVE/STORE SCU command?

We have a modality to which we connect Orthanc. But we cannot send certain studies over to said modality. Important information: our Orthanc converts images it receives to JPEG2000 Lossless.

As it turns out, we get this log:

By the way, I just learned of the ModifyInstance lua function. I can get away with it (deleting the modified image afterwards) but the real case is I need an entry-point, a callback.

Or a way to configure Orthanc so it decompresses the image prior to sending.

Also, this has been confirmed on osimis/orthanc-pro:latest image and a storescp can be setup with this line:

$ storescp -od storescp-data-dir +xe --fork -aet LUIZ -sp -su -xs 2000

Changing the +xe for +xa makes it accept any transfer syntax. Alas that can’t be achieved in our production environment.

Thanks again!

Hi,

  Did you try open a new Orthanc with Jpeg2000 translate and forward to the client?
  When client do C-MOVE, you send to this new Orthanc translate and SEND for real client.

      Roque

Hi, Roque!

Do you mean setting up an extra Orthanc that decompresses the image (from Jpeg2000) and then automatically performs a C-MOVE to the actual destination? This sounds very interesting. I’ll talk to the project lead tomorrow morning! :wink:

Thank you so much =)

Hello,

FYI, I’ve just added a FAQ about transcoding in the Orthanc Book:
https://book.orthanc-server.com/faq/transcoding.html

HTH,
Sébastien-

Hello

Dear All

Dear Sébastien Jodogne

Two ORTHANC Server

Good idea

First ORTHANC

I think it would be very useful to have an automatic deletion function.

https://book.orthanc-server.com/_images/Transcoding4.svg

2019年9月3日火曜日 20時20分30秒 UTC+9 Sébastien Jodogne:

First ORTHANC

I think it would be very useful to have an automatic deletion function.

https://book.orthanc-server.com/_images/Transcoding4.svg

The automated deletion through the REST API is illustrated in the following sample (this sample is part of the transcoding FAQ):
https://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/Lua/AutomatedJpeg2kCompression.lua

Dear Sébastien Jodogne

The automated deletion through the REST API is illustrated in the following sample (this sample is part of the transcoding FAQ):
https://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/Lua/AutomatedJpeg2kCompression.lua

Another question
Is there any other modality (CR, CT, MR) automatic deletion function with default settings?
For example, delete it after 5 years.

Is there any other modality (CR, CT, MR) automatic deletion function with default settings? For example, delete it after 5 years.

No, use the REST API to script such a custom behavior:
https://book.orthanc-server.com/users/rest.html

You could however interest in “MaximumStorageSize” and “MaximumPatientCount” configuration options:
https://book.orthanc-server.com/users/configuration.html