ShahriarRezghi/Spyker

Preprocessing padding

Opened this issue · 6 comments

Parameter to choose the padding method in preprocessing methods (e.g. DoG, LoG, ..).

For real images, it creates high activation on the edges.

That might be because you are padding the image with zeros, and this creates a high contrast near the edges, and results in high activation. Is this correct?

Exactly. And as far as I know, you can not choose other padding methods (e.g. "mirror", "edge") with the spyker.pad or the spyker.DoG.

The back-end libraries used (cuDNN, etc) don't support such padding methods as far as I know, and I do not plan to add such features for now. You can use other tools to pad the input before passing it to spyker.DoG.

Yes of course, it can still be done before the preprocessing step.
Just one might be aware that the padding of the DoG method can create weird processing with some images.

I'm having a problem import the pybind11 module. I was able to compile it and created spyker.pyd However I am unable to successfully import it ie call import spyker (on windows). Any suggestions with that?

DLL load failed while importing spyker: The specified module could not be found.

@jkyle1234 the problem you are having is not related to this issue. Please open another issue, and also describe your problem with a lot more detail (like the version of dependencies you are using, build configuration, sample code, etc).