To begin, open MATLAB software. Ensure that the IDEAL data have a horizontal resolution of 256 by 256 pixels with a pixel spacing of 1.5625 millimeters and a slice thickness of 10 millimeters. Copy all DICOM data to a customized working directory, and navigate to the directory containing the data in MATLAB's working directory.
Then execute the description name function to add descriptive names to the folders for each sequence. Add a description name to each image sequence folder. To check images of IDEAL, change the directory of different phase folders.
Execute the slice view function to view the impact sequences for each phase. Next, quickly browse the different sequences using the scroll bar at the bottom of the GUI. Select the MRI IDEAL outphase sequence to depict liver tissue boundaries.
Initiate the Mimics software. Select new project, and in the ensuing dialogue box, navigate to the folder containing the IDEAL outphase images. Click next, followed by the convert button to enter into the sequence heading state.
To create an empty mask, from the mask dialogue box, click on the new button and select the maximum threshold. Using the edit masks tool located beneath the segment label, delimit the area of the liver in all horizontal views. To generate the 3D spatial part of the liver, select the outlying liver mask and click on the calculate part for mask button.
Next, click file, then export, and select the DICOM command. In the pop-up dialogue box, choose the liver mask, and set the file path and names, then click the OK button to complete the export of the 3D region of the liver to the specified DICOM files.