public class DicomImageDecoderImageMagick extends DicomImageDecoderBase
Constructor and Description |
---|
DicomImageDecoderImageMagick() |
DicomImageDecoderImageMagick(java.lang.String identifyCmd,
java.lang.String convertCmd)
Creates a decoder provided the supplied conversion command
|
Modifier and Type | Method and Description |
---|---|
static boolean |
checkForImageMagick()
Checks for availability of ImageMagick on the system path
|
DicomPixelBuffer |
decodeFrame(DicomHeader header,
DicomPixelData data)
Decode a frame given data
|
void |
finalize() |
boolean |
isValid() |
void |
setCommands(java.lang.String identify,
java.lang.String convert)
Set the command-line command to call ImageMagick's "identify" and
"convert" utilities.
|
decodeFrames
public DicomImageDecoderImageMagick()
public DicomImageDecoderImageMagick(java.lang.String identifyCmd, java.lang.String convertCmd)
public boolean isValid()
public void setCommands(java.lang.String identify, java.lang.String convert)
identify
- the base command for the identify utility (simply "identify" if it exists
in your $PATH, otherwise the full path to the executable)public static boolean checkForImageMagick()
public DicomPixelBuffer decodeFrame(DicomHeader header, DicomPixelData data)
DicomImageDecoderBase
decodeFrame
in class DicomImageDecoderBase
header
- DICOM headerdata
- raw data from pixel data itempublic void finalize()
finalize
in class java.lang.Object