<font size="2"><font face="verdana,sans-serif">Hi all,</font></font><div><font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">I am trying to write a filter for calculating structure tensor from arbitrary images. However the output is always 0. The complete (and relatively small) test case is attached.</font></font></div>
<div><font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">Putting a breakpoint in .h file on line 51, I see that for voxel 0,0,0 the output is non-zero. However in .cpp file, line 30 spews out zeroes. Can anyone tell me why this is happening and how to correct it?</font></font></div>
<div><font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">Regards,</font></font></div><div><font size="2"><font face="verdana,sans-serif">Dženan</font></font></div>