VOOZH about

URL: https://www.geeksforgeeks.org/python/mahotas-edges-using-difference-of-gaussian-for-binary-image/

⇱ Mahotas – Edges using Difference of Gaussian for binary image - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Mahotas – Edges using Difference of Gaussian for binary image

Last Updated : 10 Jul, 2020
In this article we will see how we can edges of the binary image in mahotas with the help of DoG algorithm. In imaging science, difference of Gaussians (DoG) is a feature enhancement algorithm that involves the subtraction of one blurred version of an original image from another, less blurred version of the original.

In order to do this we will use mahotas.dog method

Syntax : mahotas.dog(img)

Argument : It takes binary image object as argument

Return : It returns image object

Below is the implementation

Output :
Binary Image
👁 Image
Edges using DoG algo
Another example
Output :
Binary Image
👁 Image
Edges using DoG algo
👁 Image
Comment
Article Tags: