Dermatology never really embraced DICOM for image management. Dicoderma is an attempt to narrow the rift by freeing dermatologists from the overhead of DICOM compliant infrastructure but gives some of the advantages like storing patient metadata with images. Dicoderma facilitates this by mapping DICOM tags to EXIF USER_CONTENT. You can also convert JPEG to DCM.
- uses Java8 and maven
- Install locally by
mvn clean install
dicomSCModel = new DicomSCModel();
dicoderma = new Dicoderma();
dicomSCModel.PatientName = "Mickey Mouse";
File filein = new File("src/test/resources/test.jpg");
File fileout = new File("src/test/resources/test-out.jpg");
fileout.delete();
dicoderma.putDicomModelToFile(filein, fileout, dicomSCModel);
dicomSCModel = new DicomSCModel();
dicoderma = new Dicoderma();
dicomSCModel = dicoderma.getDicodermaMetadataFromFile(file);
File filein = new File("src/test/resources/test-out.jpg");
File fileout = new File("src/test/resources/test.dcm");
String[] metadata = dicoderma.getModelAsStringArray(dicomSCModel);
fileout.delete();
dicodermaJpg2Dcm.convertJpgToDcm(filein, fileout, metadata);