I am using DCMTK to read DICOM image, now I want to convert the dcm image into Mat image to use OpenCV functions. Here is the code to read .dcm image into a DicomImage variable.
DicomImage DCM_image("D:\headOneSlices512\Slice77.dcm");
DCM_image.setMinMaxWindow(); //DCM image
Aucun commentaire:
Enregistrer un commentaire