Say I have an $m\times n$ image and I want to use DOG for edge detection. I can see in this answer he is using:
gaussian1 = fspecial('Gaussian', 21, 15);
gaussian2 = fspecial('Gaussian', 21, 20);
I was working with this image for reference, and I tried to move the size from 1 to 30. I cant make sense of which output is better. I think the sharpest edges I received were for
hsize=6, but how can I tell?
After following the advice on the comments and reading the wiki entery's abstract on the subject I am still puzzled. It is my understanding that the band pass parameters is dependent in the image and there is no efficient automatic way to derive the sigma and size parameters of the filters from the image.Does this means I have to manually adjust the filter sizes for any new image?
- Is there an automatic way to do so? (I am sure there is since this algorithms work independently on the market)
- say I want to generate response for different filters as an experiment:
- Which iterations should I go through?
- When I am looking at the result image, what should I look for to ssay it is the desired response?