Hi Richard,<br><br>I made this class long time ago. It seems like I didn't provide any test for this class or at least I can't find it, my apologies.<br>Attached you can find a test program, a source test image and baseline images for different orders of derivatives in each direction. I used sigma = 3.0 (variance = 9.0), and max_error = 0.001<br>
<br>Note that each instance of the filter applies the derivative in a single direction for a given order. For example to calculate the first order derivative in X and the second in Y you apply an instance of the filter in X direction with order one and another in Y with order two. Even if you use order zero in a direction you still have to use the filter for that direction, because it will calculate the standard gaussian.<br>
If you want a vector image you have to compose it yourself, wait for me to develop the filter or do it yourself :)<br><br>If possible, it would be very nice if you could try the behaviour of the filter with different spacing in each direction ( UseImageSpacingOn() ). I think there was a pending issue with the handling of the spacing.<br>
<br>I guess I will have to upload a new version of the paper with new tests. Since this is in Review currently I would need someone with CVS write access to commit the tests too. Do you have it?<br><br>Regards<br><br>Iván<br>
<br><div class="gmail_quote">2009/12/30 Richard Beare <span dir="ltr"><<a href="mailto:richard.beare@gmail.com">richard.beare@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I'm trying to experiment with DiscreteGausianDerivativeImageFilter as<br>
an alternative to GradientRecursiveGaussianImageFilter, but I'm having<br>
issues with correctly declaring my image types. Are there any examples<br>
anywhere? I haven't been able to find any. I want the components of<br>
the gradient and I'm using CovariantVector types for the<br>
GradientRecursiveGaussianImageFilter.<br>
<br>
Thanks.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>