From 9261e9dbe522d74a5f73d9d43d51289249093e2f Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@c-s.fr> Date: Tue, 2 Dec 2008 10:22:24 +0100 Subject: [PATCH] DOC: Adding documentation for StreamingWarpImageFilter --- .../DisparityMap/otbStreamingWarpImageFilter.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Code/DisparityMap/otbStreamingWarpImageFilter.h b/Code/DisparityMap/otbStreamingWarpImageFilter.h index 566da07046..9e5f4c2b7f 100644 --- a/Code/DisparityMap/otbStreamingWarpImageFilter.h +++ b/Code/DisparityMap/otbStreamingWarpImageFilter.h @@ -25,9 +25,22 @@ namespace otb { /** \class StreamingWarpImageFilter - * \brief + * \brief This class acts like the itk::WarpImageFilter, but it does not request the largest possible region of the image to warp. * - * \TODO: Document + * Instead, the user should assess the maximum deformation in the deformation field and set it via the SetMaximumDeformation() method. + * + * The filter will then compute an appropriate security margin according to the image spacing, the maximum deformation and the interpolator + * radius in otb::StreamingTraits. + * + * This security margin is used to stream the input image, making this filter an entirely streamable one. + * + * If the maximum deformation is wrong, this filter is likely to request data outside of the input image buffered region. In this case, pixels + * outside the region will be set to Zero according to itk::NumericTraits. + * + * \sa itk::WarpImageFilter + * + * \ingroup Streamed + * \ingroup Threaded */ template <class TInputImage, class TOutputImage, class TDeformationField> @@ -35,7 +48,6 @@ class ITK_EXPORT StreamingWarpImageFilter : public itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField > { public: - /** Standard class typedefs. */ typedef StreamingWarpImageFilter Self; typedef itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField> Superclass; -- GitLab