Closed choigiheon closed 4 months ago
@choigiheon (just call me @yjyoo3312 in this repo:) ) Thank you for the constructive questions!
filter = np.array([
[1, 1, 1],
[1, 0, 1],
[1, 1, 1]
])
[References] https://arxiv.org/pdf/1506.05751v1.pdf <- this one is a classical GAN paper, applying the Laplacian Pyramid. https://sepwww.stanford.edu/data/media/public/sep/morgan/texturematch/paper_html/node3.html
I think I roughly understand, but I'm not sure. Is the reason for not directly applying the LoG filter and instead subtracting two different Gaussian-blurred images because the collection of Gaussian-blurred images is used for a different purpose other than LoG?
And if you want to apply only the LoG operation, would applying the LoG filter directly be the better approach?
Yepp, indeed. Since creating a Gaussian image pyramid is a common practice for various computer vision applications, subtraction is an efficient choice to obtain a LoG image for those cases. Nonetheless, when the task requires applying a LoG operation to an image directly, utilizing a LoG kernel also serves as a good alternative.
Ok, I got it! Thank you for answering!!! :D
@yjyoo3312, I have two questions about Laplacian of Gaussian (LoG)!
1) When using LoG, if edge detection is based on zero-crossings, how do we differentiate between case 1 and case 2 in Figure, which are both zero-crossing but one is on edge and the other is not?
2) I heard that the reason for approximating LoG with DoG is due to computational complexity. However, since convolutional filters are fixed in advance, it doesn't seem necessary to worry about computation. Are there cases where LoG is computed multiple times?
Thank you very much!