Matlab scripts used to convert .png slices to a binary raw voxel format KibretBehailu PREMARATNEMALIN 2018 <div><div>The matlab scripts were used in the pipeline to convert the png files (captured from the solidified mesh) to binary raw matrix (voxel format). The general idea of the pipeline is: </div><div> a. export slices as '.png' files by capturing at equal interval (e.g. 0.5 mm) from the solid representation of the mesh </div><div> b. Crop slices to a relevant size (remove unnecessary background voxels) ("Cropper.m")</div><div> c. Convert the cropped slices to greyscale ("GreyScaler.m")</div><div> d. Covert the geryscale slices to a single binary matrix (volume or voxels) ("Volumer.m")</div><div>e. Remove boundary lines dividing the anatomical structures (if the slice capture introduced borders) and resize voxel to 0.5 mm per pixel in each slice ("BoundaryRemover.m")</div></div><div><br></div>