{"id":331,"date":"2015-03-21T09:00:42","date_gmt":"2015-03-21T09:00:42","guid":{"rendered":"http:\/\/morganredfield.com\/blog\/?p=331"},"modified":"2022-03-22T01:10:34","modified_gmt":"2022-03-22T01:10:34","slug":"difference-of-gaussians","status":"publish","type":"post","link":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/","title":{"rendered":"Difference of Gaussians"},"content":{"rendered":"<p>While reading about image recognition algorithms, I learned about a method of band-pass filtering I hadn&#8217;t seen before. The <a href=\"http:\/\/en.wikipedia.org\/wiki\/Difference_of_Gaussians\">Difference of Gaussians<\/a> method can be used to band-pass filter an image quickly and easily. Instead of convolving the image with a band-pass kernel, the Difference of Gaussians methods uses two low pass filters and subtracts the two.<\/p>\n<p>You start by blurring the image using a gaussian kernel, then subtract the blurred image it from a second less blurred version of the original. The result is an image with only features between the two blur levels. The two levels of blur used in the subtraction step can be varied to give different band pass limits.<\/p>\n<p>This method can be effectively used for edge detection because it cuts down high frequency noise by subtracting a less blurred image. That means that noise in the image doesn&#8217;t get treated as an edge. Apparently there are common blur levels that cause the Difference of Guassians method to approximate response of ganglion cells (light sensing nerve cluster in the eye)to light that falls on or near them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While reading about image recognition algorithms, I learned about a method of band-pass filtering I hadn&#8217;t seen before. The Difference of Gaussians method can be used to band-pass filter an image quickly and easily. Instead of convolving the image with a band-pass kernel, the Difference of Gaussians methods uses two low pass filters and subtracts &hellip; <a href=\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Difference of Gaussians&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[76,53],"class_list":["post-331","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-image-recognition","tag-signal-processing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Difference of Gaussians - Theory and Practice<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Difference of Gaussians - Theory and Practice\" \/>\n<meta property=\"og:description\" content=\"While reading about image recognition algorithms, I learned about a method of band-pass filtering I hadn&#8217;t seen before. The Difference of Gaussians method can be used to band-pass filter an image quickly and easily. Instead of convolving the image with a band-pass kernel, the Difference of Gaussians methods uses two low pass filters and subtracts &hellip; Continue reading &quot;Difference of Gaussians&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\" \/>\n<meta property=\"og:site_name\" content=\"Theory and Practice\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-21T09:00:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-22T01:10:34+00:00\" \/>\n<meta name=\"author\" content=\"morgan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"morgan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\"},\"author\":{\"name\":\"morgan\",\"@id\":\"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd\"},\"headline\":\"Difference of Gaussians\",\"datePublished\":\"2015-03-21T09:00:42+00:00\",\"dateModified\":\"2022-03-22T01:10:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\"},\"wordCount\":188,\"publisher\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd\"},\"keywords\":[\"image recognition\",\"signal processing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\",\"url\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\",\"name\":\"Difference of Gaussians - Theory and Practice\",\"isPartOf\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/#website\"},\"datePublished\":\"2015-03-21T09:00:42+00:00\",\"dateModified\":\"2022-03-22T01:10:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/morganredfield.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Difference of Gaussians\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/morganredfield.com\/blog\/#website\",\"url\":\"https:\/\/morganredfield.com\/blog\/\",\"name\":\"Theory and Practice\",\"description\":\"Exploring life through science and art.\",\"publisher\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/morganredfield.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd\",\"name\":\"morgan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0da7fa0a0a07a8497d51de4300111d978b649e254fc1afa26dc67f3b83d24c38?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0da7fa0a0a07a8497d51de4300111d978b649e254fc1afa26dc67f3b83d24c38?s=96&d=mm&r=g\",\"caption\":\"morgan\"},\"logo\":{\"@id\":\"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/morganredfield.com\/blog\/author\/morgan\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Difference of Gaussians - Theory and Practice","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/","og_locale":"en_US","og_type":"article","og_title":"Difference of Gaussians - Theory and Practice","og_description":"While reading about image recognition algorithms, I learned about a method of band-pass filtering I hadn&#8217;t seen before. The Difference of Gaussians method can be used to band-pass filter an image quickly and easily. Instead of convolving the image with a band-pass kernel, the Difference of Gaussians methods uses two low pass filters and subtracts &hellip; Continue reading \"Difference of Gaussians\"","og_url":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/","og_site_name":"Theory and Practice","article_published_time":"2015-03-21T09:00:42+00:00","article_modified_time":"2022-03-22T01:10:34+00:00","author":"morgan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"morgan","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/#article","isPartOf":{"@id":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/"},"author":{"name":"morgan","@id":"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd"},"headline":"Difference of Gaussians","datePublished":"2015-03-21T09:00:42+00:00","dateModified":"2022-03-22T01:10:34+00:00","mainEntityOfPage":{"@id":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/"},"wordCount":188,"publisher":{"@id":"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd"},"keywords":["image recognition","signal processing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/","url":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/","name":"Difference of Gaussians - Theory and Practice","isPartOf":{"@id":"https:\/\/morganredfield.com\/blog\/#website"},"datePublished":"2015-03-21T09:00:42+00:00","dateModified":"2022-03-22T01:10:34+00:00","breadcrumb":{"@id":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/morganredfield.com\/blog\/2015\/03\/difference-of-gaussians\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/morganredfield.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Difference of Gaussians"}]},{"@type":"WebSite","@id":"https:\/\/morganredfield.com\/blog\/#website","url":"https:\/\/morganredfield.com\/blog\/","name":"Theory and Practice","description":"Exploring life through science and art.","publisher":{"@id":"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/morganredfield.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/15fce334735dd60ce7bb5712c44a62dd","name":"morgan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0da7fa0a0a07a8497d51de4300111d978b649e254fc1afa26dc67f3b83d24c38?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da7fa0a0a07a8497d51de4300111d978b649e254fc1afa26dc67f3b83d24c38?s=96&d=mm&r=g","caption":"morgan"},"logo":{"@id":"https:\/\/morganredfield.com\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/morganredfield.com\/blog\/author\/morgan\/"}]}},"_links":{"self":[{"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/posts\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":5,"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":594,"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/posts\/331\/revisions\/594"}],"wp:attachment":[{"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/categories?post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morganredfield.com\/blog\/wp-json\/wp\/v2\/tags?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}