read dicom metadata java code example
Example: dicom read with java
DICOM dcm = new DICOM();
dcm.open("image.dicom");
if (dcm.getWidth()==0)
IJ.log("Error opening image.dicom");
else
dcm.show();
DICOM dcm = new DICOM();
dcm.open("image.dicom");
if (dcm.getWidth()==0)
IJ.log("Error opening image.dicom");
else
dcm.show();