Performs inpainting in the rendered view
To fill holes, the image is scanned line by line. When the beginning of a hole is encountered, its length on the line is calculated, and the depths of the pixels bounding the hole are compared. To preserve the discontinuity at the close end of the hole and blend with the further end, information from the deeper side is mirrored into the hole. This process is performed line-by-line for the entire image, and is then performed column-by-column in a similar manner so that holes are filled with an average of mirrored information from their deeper vertical and horizontal edges.