-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
First of all, this is really nice and fast template macher! thanks.
I was wondering if you can point to how one could make it work with images of different sizes...I tired with your test-cases but it failed:
python FourierMullinTransform.py ../../lena_orig.png ../../lena.png
Traceback (most recent call last):
File "FourierMullinTransform.py", line 250, in <module>
sys.exit(main(sys.argv))
File "FourierMullinTransform.py", line 223, in main
imgFinal,scaleFactor,angleDeg,x,y = TransformImage(imgOriginal, imgTransformed)
File "FourierMullinTransform.py", line 167, in TransformImage
imgTransformedMagsFilter = imgTransformedMags * highPassFilter
ValueError: operands could not be broadcast together with shapes (256,256) (128,128)
I changed the code a bit, so the lines probably do not match up...but the problem here seems to be that you are using the same highpass filter for both the original and the transformed..
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels