[Insight-users] [Itk] [BinaryErode]
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Sun Oct 1 05:46:40 EDT 2006
Hi,
Can you give the line where the error occur with the new filter ?
I will try to fix :-)
Thanks,
Gaetan
Le Sat, 30 Sep 2006 20:33:47 +0200, Vincent Viroleau <viroleau at gmail.com>
a écrit:
> Hi,
>
> I've updated my Itk files using your version of the erosion and
> dilatation, and the vector out of range is still happening even with
> your code.
>
> The probleme should come from the visual 2005 implementation of the
> vector.
>
> Thanks anyway for the help.
>
> On 9/27/06, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>> 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
>>
>
>
--
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