A computer-implemented method to process, using one or more computer processors, two-dimensional images of a core sample, the method comprising: defining stacked aligned representations by superimposing onto one another a plurality of polygon shaped images of a substantially cylindrical core sample with a slab cut, each image having a representation of a different transverse section of the core sample and a background that surrounds the representation; discarding the background of the stacked representations; identifying two or more pixels in the stacked representations that have a value of substantially zero to define a plurality of zero-value pixels; determining an imaginary best-fit line for the identified zero-value pixels to thereby define a saw cut line; approximating circular locations of peripheries of each of the representation of the superimposed transverse sections to define an approximated slab cut boundary; comparing a number of non-zero pixels on a first side of the saw cut line with a number of non-zero pixels on a second side of the saw cut line, a smaller portion of each of the representation of transverse section of the core sample being a portion of the superimposed transverse sections associated with the smaller number of non-zero pixels relative to the saw cut line, a larger portion being a portion of the representation associated with the larger number of non-zero pixels; identifying a point positioned on peripheries of the smaller portion to thereby define a standalone point; determining an imaginary line perpendicular to the saw cut line that extends through the standalone point to define a reference line; and moving the smaller portion parallel to the reference line to position the standalone point 287 on peripheries of the approximated slab cut boundary to thereby define a corrected saw cut line image. defining stacked aligned representations by superimposing onto one another a plurality of polygon shaped images of a substantially cylindrical core sample with a slab cut, each image having a representation of a different transverse section of the core sample and a background that surrounds the representation; discarding the background of the stacked representations; identifying two or more pixels in the stacked representations that have a value of substantially zero to define a plurality of zero-value pixels; determining an imaginary best-fit line for the identified zero-value pixels to thereby define a saw cut line; approximating circular locations of peripheries of each of the representation of the superimposed transverse sections to define an approximated slab cut boundary; comparing a number of non-zero pixels on a first side of the saw cut line with a number of non-zero pixels on a second side of the saw cut line, a smaller portion of each of the representation of transverse section of the core sample being a portion of the superimposed transverse sections associated with the smaller number of non-zero pixels relative to the saw cut line, a larger portion being a portion of the representation associated with the larger number of non-zero pixels; identifying a point positioned on peripheries of the smaller portion to thereby define a standalone point; determining an imaginary line perpendicular to the saw cut line that extends through the standalone point to define a reference line; and moving the smaller portion parallel to the reference line to position the standalone point 287 on peripheries of the approximated slab cut boundary to thereby define a corrected saw cut line image.