Many lenses have significantly poorer sharpness in the corners of the image than they have at the center due to optical defects such as coma, astigmatism, and field curvature. In some circumstances, such a blur is not problematic. It could even be beneficial by helping to isolate the subject from the background. However, if there exists similar content in the scene that is not blurry, as happens commonly in landscapes or other scenes that have large textured regions, this type of defect can be extremely undesirable. The current work suggests that, in problematic circumstances where there exists visually similar sharp content, it should be possible to use that sharp content to synthesize detail to enhance the defectively blurry areas by overpainting. The new process is conceptually very similar to inpainting, but is overpainting in the same sense that the term is used in art restoration: it is attempting to enhance the underlying image by creating new content that is congruous with details seen in similar, uncorrupted, portions of the image. The kongsub (Kentucky's cONGruity SUBstitution) software tool was created to explore this new approach. The algorithms used and various examples are presented, leading to a preliminary evaluation of the merits of this approach. The most obvious limitation is that this approach does not sharpen blurry regions for which there is no similar sharp content in the image.
The kongsub program was developed as a proof-of-concept prototype of the ideas discussed in Use Of Sharp Image Content to Enhance Sharpness of Other Image Areas, by Henry Dietz and Hunter Durkee, as presented at Electronic Imaging 2025. It is available as open source code here:
The sample images used in the paper are:
DSC1176inp.png
DSC00750inp.png
DSC1176gray.png
DSC00750gray.png
DSC1176lap.png
DSC00750lap.png
DSC1176mapr.png
DSC00750mapr.png
DSC1176rawfix.png
DSC00750rawfix.png
DSC1176fixlab.png
DSC00750fixlab.png
DSC1176fixed.png
DSC00750fixed.png
If you have any comments or suggestions, you can send them to Professor Hank Dietz.