[Insight-developers] Variable sigma along each axis in itk::SmoothingRecursiveGaussianImageFilter

Matthew McCormick (thewtex) matt at mmmccormick.com
Thu Jun 17 13:56:53 EDT 2010


On Thu, Jun 17, 2010 at 12:12 PM, Karthik Krishnan <
karthik.krishnan at kitware.com> wrote:

> I'd like to commit a minor enhancement to
> itk::SmoothingRecursiveGaussianImageFilter to be able to take in variable
> sigma along each dimension. The patch is attached. All tests seem to be
> passing on the experimental submitted to the dashboard from isengard.
>

Cool.


>
> There are no changes to the public or protected API. Just the addition of
> the method SetSigmaArray( const SigmaArrayType & ) . The existing SetSigma(
> scalar ) method goes through the above method. Also the type of m_Sigma is
> been changed from a scalar to a vector, but this should cause no issues to
> users or derived classes, since m_Sigma is private.
>

How about SetSigma( const SigmaArrayType & )?  Other classes use
polymorphism like this, e.g. SetRadius( const unsigned int ), SetRadius(
const RadiusType & ).

Matt

>
> Thanks
> --
> karthik
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100617/78b59713/attachment.htm>


More information about the Insight-developers mailing list