1. A method for providing virtual alignment of fractured bones comprising: capturing image data of fragments of a bone that were separated due to bone fracture; pre-processing the image data by: comparing a value of each pixel in the image data to a threshold value; setting the value of each pixel in the image data that is above the threshold value to a first single pixel value; identifying objects in the image data based on pixel connectivity; and filtering identified objects having an area less than a predetermined value from the image data; generating three-dimensional models of the bone fragments from the image data; determining contours of fractured ends of the bone fragments; matching the fractured ends of the bone fragments; determining a transformation that places the fractured ends in three-dimensional alignment to form a reconstructed bone; and generating an image of the reconstructed bone that results from the transformation.