axtimwalde/mpicbg

Incorrect Kernel?

Closed this issue · 3 comments

I can't see a good reason for the following line (and the one above it) to be using the horizontal kernel, I believe it should be using the vertical instead

vala += h[ yk ] * tempData[ ya[ y + yk ] + x ];

I believe the lines should be:

				valb += v[ yk ] * tempData[ yb[ y + yk ] + x ];
				vala += v[ yk ] * tempData[ ya[ y + yk ] + x ];

It is used for SIFT feature extraction. Specifically:

fa = Filter.convolveSeparable( fa, initialKernel, initialKernel );

l[ 1 ] = Filter.convolveSeparable( l[ 0 ], KERNEL_DIFF[ STEPS ], KERNEL_DIFF[ STEPS ] );

and

l[ i ] = Filter.convolveSeparable( l[ 0 ], KERNEL_DIFF[ i ], KERNEL_DIFF[ i ] );

The SIFT algorithm is used by the register virtual stack slices plugin https://github.com/fiji/register_virtual_stack_slices