[Insight-users] [Itk] [BinaryErode]

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Sep 27 02:33:57 EDT 2006


Le Tue, 26 Sep 2006 23:54:22 +0200, Vincent Viroleau <viroleau at gmail.com>  
a écrit:

> I'm using the itk::BinaryErodeImageFilter with an itk::Neighborhood
> and i get a vector subscript out of range.
>
> Itk : 2.6
> Visual 2005
> itkBinaryErodeImageFilter.txx revision 1.23
>
> It seem that the error came from the line 409 in the txx file.
> The GetDifferenceSet method is called with the parameter 4, and the
> vector m_KernelDifferenceSets has a size of 0.
>
> If somebody had used this filter and had the same issue, i would
> really appreciate some help.
> Thank you
>

Hi,

Please try the modified version submitted some time ago to the insight  
journal.
It is more tested, more efficient, and support boundary conitions.

   http://insight-journal.org/dspace/handle/1926/173
   http://insight-journal.org/InsightJournalManager/view_reviews.php?back=publications.php%3Fjournalid%3D4%26order%3Drating%26revision_display%3Dcombined&pubid=80

Please write a small review to this article if you find those changes  
useful :-)

Regards,

Gaetan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-users mailing list