We developed the algorithm for preparation of DICOM images for the construction of a three-dimensional model of the bones of the facial skull. The DICOM image-processing algorithm reduced the data loss level about the thin bones of the orbit during building a three-dimensional model of the bones of the facial skull from 22–31% to 3–5%. The developed software automatically changes the color of the pixels of the thin bones of the orbit from gray to white. Thin bones of the orbit were expanded over one pixel using the DICOM image-processing algorithm. The analysis of the image processing results by the developed software was carried out using 3D Slicer software