Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As you can see here, in python, ** is the pow operator, so just do

gaussianNumerator = (X - centerX)*(X - centerX) + (Y - centerY)*(Y - centerY);

As you can see here, in python, ** is the pow operator, so just do

gaussianNumerator = (X - centerX)*(X - centerX) + (Y - centerY)*(Y - centerY);centerY);
 

As you can see here, in python, ** is the pow operator, so just do

gaussianNumerator = (X - centerX)*(X - centerX) + (Y - centerY)*(Y - centerY);

Please do not change the question, just edit it by adding more questions...

I do not thing that there is some fuction that does that in OpenCV, it is from scipy, but based on its docs, you can implement your own

As you can see here, in python, ** is the pow operator, so just do

gaussianNumerator = (X - centerX)*(X - centerX) + (Y - centerY)*(Y - centerY);

Please do not change the question, just because my answer will not be relative to it anymore. Just edit it by adding more questions...questions, for eg...

I do not thing that there is some fuction that does that in OpenCV, it is from scipy, but based on its docs, you can implement your own

As you can see here, in python, ** is the pow operator, so just do

gaussianNumerator = (X - centerX)*(X - centerX) + (Y - centerY)*(Y - centerY);

Please do not change the question, because my answer will not be relative to it anymore. Just edit it by adding more questions, for eg...

I do not thing that there is some fuction that does that is similar to scipy.fftpack.ifftshift in OpenCV, it is from scipy, but based on its docs, you can implement your own