Re: Command line switches for aeskulap

2022-11-12 Thread Karsten Hilbert
> > If we cannot find this documentation within roughly the next 24 hours, I
> > will have to find a way to get the images we need using gnome-screenshot.
> > aeskulap appears not to be designed to be driven from the command line, so I
> > may have to use some terrible workaround like extracting its PID with ps |
> > grep and killing it manually.

I think the first step is to establish whether they need the
images INTO their system or "just" for viewing.

In the latter case one might even give them a laptop
preinstalled with aeskulap to use for viewing as needed.

In the former case (INTO their system for, say, stereotactic
operation, radiation planning, prosthesis planning, ...) we
would need to find a way to generate usable DICOM images.

For that my first attempt would be this:

- upload existing images into Orthanc
- ensure I can view them with the standard builtin Orthanc web viewer
- if yes re-export them from Orthanc
- if not view them with aeskulap in Orthance
- if viewable, try to re-export with aeskulap

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



Re: Command line switches for aeskulap

2022-11-12 Thread roland.fr...@cross-mail.com

Hello Peter,

there is a windows version of Aeskulap.

https://www.nongnu.org/aeskulap/download.html

If your surgeon's office is not using linux, it might use windows.

If they are able to install software on their windows machine, they are 
in for great tool.


Regards Roland


Am 11.11.22 um 21:57 schrieb Andreas Tille:

Hi,

I'm just the Debian of aeskulap which means I can just build the code.
I'm not a user of this package.  I just know that there are two other
DICOM viewer in Debian ginkgocadx (in Debian stable, but not unstable
any more) and amide.

I'm forwarding your question to the Debian Med mailing list where other
people might give some better hints.

Kind regards
Andreas.

Am Fri, Nov 11, 2022 at 07:39:53AM -0800 schrieb L Peter Deutsch:

Dear M. Pipelka and M. Tille,

I found your names and e-mail addresses on the aeskulap man page.

A hospital has provided us with a CD of CT scans in DICOM format that are
essential for my husband's surgery.  The surgeon's staff has been unable to
view them; convert (ImageMagick), dcm2pnm, and dcmj2pnm all produce images
that are gray with only tiny shade variations.  aeskulap produces beautiful
clear images, but the surgeon's office does not run Linux and cannot use
aeskulap.

I have been unable to find any documentation for aeskulap other than a very
short man page.  I could have sworn I saw a man page that gave instructions
for a command line switch that caused aeskulap to write an image file in
some more usable format (PNG, PDF, ...), but I cannot find this page
anywhere now.  Does such documentation exist, and if so, where?

If we cannot find this documentation within roughly the next 24 hours, I
will have to find a way to get the images we need using gnome-screenshot.
aeskulap appears not to be designed to be driven from the command line, so I
may have to use some terrible workaround like extracting its PID with ps |
grep and killing it manually.

I will appreciate any assistance greatly.

Sincerely,

L Peter Deutsch
(original author of Ghostscript)





Re: Command line switches for aeskulap

2022-11-12 Thread Sébastien Jodogne

Hello,

I'm the leader of the Orthanc project that was mentioned by Karsten.

Orthanc comes with the "Stone Web viewer" plugin that provides a free 
and open-source radiology viewer with features similar to those of aeskulap:

https://www.orthanc-server.com/static.php?page=stone-web-viewer

You could suggest the surgeon's to install this viewer on their own 
Microsoft Windows machines using the official Orthanc installers:

https://www.orthanc-server.com/download-windows.php

You could also run Orthanc on a GNU/Linux virtual machine in the cloud, 
then provide an access to the surgeon's office. You can find Debian 
packages for the Stone Web viewer in a standalone Debian repository 
(this is not part of the official Debian distribution yet, because of 
inherent difficulties to package WebAssembly applications):

https://book.orthanc-server.com/users/cookbook.html#obtaining-binaries

Finally, do not hesitate to get in touch with the Orthanc community at 
the following address:

https://groups.google.com/g/orthanc-users

Hope this helps,
Sébastien-


On 12/11/22 01:23, Karsten Hilbert wrote:

Am Fri, Nov 11, 2022 at 09:57:36PM +0100 schrieb Andreas Tille:


Am Fri, Nov 11, 2022 at 07:39:53AM -0800 schrieb L Peter Deutsch:

Dear M. Pipelka and M. Tille,

I found your names and e-mail addresses on the aeskulap man page.

A hospital has provided us with a CD of CT scans in DICOM format that are
essential for my husband's surgery.  The surgeon's staff has been unable to
view them; convert (ImageMagick), dcm2pnm, and dcmj2pnm all produce images
that are gray with only tiny shade variations.  aeskulap produces beautiful
clear images, but the surgeon's office does not run Linux and cannot use
aeskulap.

I have been unable to find any documentation for aeskulap other than a very
short man page.  I could have sworn I saw a man page that gave instructions
for a command line switch that caused aeskulap to write an image file in
some more usable format (PNG, PDF, ...), but I cannot find this page
anywhere now.  Does such documentation exist, and if so, where?


As fas as I remember there were not really any switches.

Discussion was on adding DICOMDIR support to the command line
somehow.

Have you tried importing the images into the Orthanc DICOM
server and re-retrieving images from that as PNG ?

www.orthanc-server.com

There's a Debian package available.

Retrieval can be done with some simple Python.

If you get the images into that, and if you can display them
OK with the integrated browser based viewer, I can try to
help out with some Python code. For starters on that, go
here:


https://github.com/ncqgm/gnumed/blob/master/gnumed/gnumed/client/business/gmDICOM.py

Bast,
Karsten



L Peter Deutsch
(original author of Ghostscript)


Thanks.

--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B