nroduit / weasis-dicom-tools

Basic dicom API
Other
34 stars 33 forks source link

CLIUtils out of date #15

Closed ncioj10 closed 1 year ago

ncioj10 commented 2 years ago

The version of CLIUtils seems to be out of date. This creates a conflict because I'm trying to use the weasis-dicom-tools:5.26.0 in combination with Dcm2Jpg org.dcm4che.tool:dcm4che-tool-dcm2jpg:5.26.0, which tries to call public static CommandLine parseComandLine(String[] args, Options opts, rb2, Class<?> clazz), but it doesn't exist. What's the best way to convert DICOM to JPG in this configuration?

nroduit commented 2 years ago

The APIs in weasis-dicom-tools are designed to avoid using the script commands in dcm4che.

I have updated the readme page to explain the use of the image transformation APIs. The APIs offer more functionality than in dcm4che image conversion types (e.g. allows to preserve 16-bit in a png image).

See also the test classes.