[Insight-users] Diagonal line structuring Element

David Doria daviddoria at gmail.com
Wed Jul 25 16:50:19 EDT 2012


On Wed, Jul 25, 2012 at 4:47 PM, Dan Mueller <dan.muel at gmail.com> wrote:
> Hi Loïc,
>
> The version of itk::FlatStructuringElement on the Insight Journal has
> a function FromImage. (Unfortunately this never made it into ITK
> proper). You may also consider looking at that code for some
> inspiration.
>     http://www.insight-journal.org/browse/publication/124
>
> HTH

If you want to go that route (having an intermediate image), you
should be in good shape - just create an ImageRegionIterator and it
will iterate the intermediate image in the same order as the
FlatStructuringElement::Iterator, so you can just copy the values.

David


More information about the Insight-users mailing list