Hi, First, thanks a lot for all answers to my previous questions. This time I'm wondering which class in ITK I should use if I want to get the gradient VECTOR (not magnitude). I just want the radius of the kernel to be only 1, so the recursive gaussian filters might not be exactly what I want. Thanks, Kai