rmislam/PythonSIFT

computeNumberOfOctaves function always returns 1

Opened this issue · 1 comments

Hi @rmislam , I found that when calculating the number of octaves in the function computeNumberOfOctaves, it always returned 1 because you applied a minimum function to the image shape (I guess you want to find the shorter side length of the image), but the image shape is consisted of three values: (hight, width, channel) so the minimum of those three values should always be 3 which is the number of channel of this image.

I am not sure if I missed something, but hope you could see this issue😃

I forgot you read image as grayscale, sorry!