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
Syntax : mahotas.dog(img)
Argument : It takes binary image object as argument
Return : It returns image object
Below is the implementation
Edges using DoG algo
Edges using DoG algo
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
- Mahotas - Gaussian filtering
- Mahotas - Labelled Image from the Normal Image
- Mahotas - Reconstructing image from transformed Daubechies wavelet image
- Mahotas - Perimeter of Objects in binary image
- Mahotas - Distance from binary image
- How to generate 2-D Gaussian array using NumPy?
- Loading Image using Mahotas - Python
- Mahotas - Transforming image using Daubechies wavelet
- ML | Variational Bayesian Inference for Gaussian Mixture
- Python - Inverse Gaussian Distribution in Statistics
- Python - Normal Inverse Gaussian Distribution in Statistics
- Python - Reciprocal Inverse Gaussian Distribution in Statistics
- Mahotas - Getting Mean Value of Image
- Mahotas - Element Structure for Eroding Image
- Mahotas - Dilating Image
- Mahotas - Eroding Image
- Mahotas - Opening Process on Image
- Mahotas - Element Structure for Dilating Image
- Labeled Image Function in Python Mahotas
- Mahotas - Removing border effect from Wavelet Center Image
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.