Skip to main content
. 2021 Dec 23;11(1):15. doi: 10.3390/biology11010015
Algorithm 1 Image preprocessing algorithm 1.
  • Step 1: Select the DICOM file using read method.;

  • Step 2: Read DICOM Description values.;

  • Step 3: Create input vector of DICOM file;

  • Step 4: Write image description;

  • Step 5: Read patient data;

  • Step 6: Read image pixel values;

  • Step 7: Apply image function zoom in/out;

  • Step 8: Apply Linear Interpolation function;

  • Step 9: Create new input vector for new format;

  • Step 10: Replace Pixels DICOM format to PNG;

  • Step 11: Write patient data;

  • Step 12: Save converted image and patient data;

  • Step 13: Display PNG image;