{"id":382,"date":"2026-07-19T23:06:34","date_gmt":"2026-07-19T23:06:34","guid":{"rendered":"https:\/\/metrix-x.rraz.ca\/?p=382"},"modified":"2026-10-04T17:44:02","modified_gmt":"2026-10-04T17:44:02","slug":"deblur","status":"publish","type":"post","link":"https:\/\/metrix-x.rraz.ca\/?p=382","title":{"rendered":"Deblur"},"content":{"rendered":"<p><code><div class=\"coca-bais-shortcode shortcode-371\"><div class=\"shortcode-container\"><div class=\"coca-bais-container\" id=\"shortcode-371\" data-settings=\"{&quot;orientation&quot;:&quot;horizontal&quot;,&quot;diagonal_direction&quot;:&quot;backslash&quot;,&quot;move_slider_on_hover&quot;:false,&quot;move_with_handle_only&quot;:true,&quot;click_to_move&quot;:true,&quot;no_overlay&quot;:false,&quot;show_labels&quot;:&quot;label_always_show&quot;,&quot;auto_slide_enabled&quot;:false,&quot;auto_slide_duration&quot;:4,&quot;auto_slide_direction&quot;:&quot;back_and_forth&quot;,&quot;auto_slide_pause_on_hover&quot;:false,&quot;before_label&quot;:&quot;Before&quot;,&quot;after_label&quot;:&quot;After&quot;}\" style=\"opacity: 0; max-width: 100%;\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"2048\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/07122089.jpg\" class=\"attachment-full size-full coca-bais-image coca-image-compare-before\" alt=\"\" \/><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"2048\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/topazx2fin.jpg\" class=\"attachment-full size-full coca-bais-image coca-image-compare-after\" alt=\"\" \/><\/div><\/div><\/div><\/code><\/p>\n<p>Deblurring should not be confused with sharpening. Main cause of blur is out of focus or motion of the camera or the subject. Other causes could be weather such as rain or mist. A debur algorithm attempts to reverse engineer the blurred image. AI image enhancements can look good but it usually replaces blurred features in an image with made-up information, not a good thing if you are trying to read a license plate from a satellite image. In the case of my favorite chicken above notice the slight blemish at the bottom of the eye and the complicated structure around the base of the beak. Standard AI enhancements tend to smooth out these areas making them almost cartoonish (definitely not real-life).\u00a0 <a href=\"https:\/\/yuzhikov.com\/articles\/BlurredImagesRestoration1.htm\">Algorithmic deblur<\/a> image enhancements also have to make assumptions but the transformation is basically mathematic. Modern methods also use AI methods with the object to get a best fit algorithmically rather than nearest fit to an AI database of birds parts (I know an oversimplification). I used <a href=\"https:\/\/replicate.com\/codeslake\/ifan-defocus-deblur\">this model<\/a> and only on the head.<\/p>\n<div class=\"x14z9mp xat24cr x1lziwak x1vvkbs xtlvy1s x126k92a\">\n<h5 dir=\"auto\">Deblurring vs. Sharpening vs. AI Enhancement<\/h5>\n<\/div>\n<div class=\"x14z9mp xat24cr x1lziwak x1vvkbs xtlvy1s x126k92a\">\n<div dir=\"auto\">Imagine a satellite trying to read a license plate on the ground. The satellite&#8217;s motion during the shot and the wavy atmosphere smear each letter into a fuzzy streak. Since you don&#8217;t know the exact smear, the software estimates the most likely kind of blur that could have caused that fuzziness, reverses it, then adjusts its guess and tries again until the letters come back into focus. The information is still there\u2014just smeared\u2014and deblurring tries to un-smear it using its best guess.<\/div>\n<div dir=\"auto\"><\/div>\n<\/div>\n<div class=\"x14z9mp xat24cr x1lziwak x1vvkbs xtlvy1s x126k92a\">\n<div dir=\"auto\">This is different from sharpening, which just makes the fuzzy streaks look punchier, not readable. And it&#8217;s different from AI enhancing, which might guess a plausible license plate number based on patterns it has seen\u2014but could just as easily guess wrong. Deblurring tries to recover what was actually there; the other two don&#8217;t.<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Deblurring should not be confused with sharpening. Main cause of blur is out of focus or motion of the camera or the subject. Other causes could be weather such as rain or mist. A debur algorithm attempts to reverse engineer the blurred image. AI image enhancements can look good but it usually replaces blurred features [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=382"}],"version-history":[{"count":5,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":440,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions\/440"}],"wp:attachment":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}