[Insight-users] Re: itkLabelCollectionImage toAttributeImageFilter

Luis Ibanez luis.ibanez at kitware.com
Mon Sep 17 09:47:47 EDT 2007


Hi Gaetan,

...It looks like an ITK version problem...

What version of ITK did you request in your
submission to the Insight Journal ?

What version of ITK did you use when building
the code locally ?


     Thanks,


        Luis


----------------------
Gaëtan Lehmann wrote:
> 
> Hi,
> 
> Le 17 sept. 07 à 03:24, Juan Paredes a écrit :
> 
>> Hi Gaetan,
>>
>> More detail about the error message I mentioned in my last message:
>>
>> itkShapeLabelCollectionImageFilter.txx:279:error:
>> conversion from 'vnl_matrix<double>' to non-scalar type  
>> 'itk::Matrix<double,2u,2u>' requested
>>
>> Any  clue  about  this?
> 
> 
> The insight journal has the same problem, but I can't reproduce the  
> problem on my computer, so that's not easy to debug :-(
> http://public.kitware.com/InsightJournal/Testing/Sites/ 
> binaryAttributeMorphology/Insight_Journal_Automatic_Testing_System/ 
> 20070913-1530-Experimental/BuildError.html
> 
> What is your compiler ? Your OS ?
> 
> The error comes from that line
> 
>     MatrixType principalAxes = eigen.V.transpose();
> 
> According to http://www.itk.org/Doxygen32/html/ classitk_1_1Matrix.html 
> , the itk::Matrix class seems to have the  operator needed here.
> const Self &     operator= (const vnl_matrix< T > &matrix)
> 
> Luis, maybe you can help me here ?
> 
> Thanks,
> 
> Gaëtan
> 
> 
> 
>>
>> Many thanks,
>>
>> Juan
>>
>> Juan Paredes <juanparedeswall at yahoo.com> wrote: Hi Gaetan,
>>
>> Today, I've submitted my review of  the release  1.  I've suggested  
>> to include new shape-based attributes. It may be you've got time  for 
>> working on those :).
>>
>> Now, I'll try the release 2 capabilities. It's great to notice that  
>> there are new attributes available, both statistics and shape based.
>>
>> I've got a question. I'm interested in getting feret diameter  and  
>> binary elongation of the objects of a labeled image. I compiled and  
>> run the new classes in linux. Then, I tried using similar code to  
>> that I used for release 1.  I got some errors referring to  conversion 
>> problems between types referred to a member function of  
>> itkShapeLabelCollectionImageFilter.txx.
>>
>> Is there any change in this class I have to be aware before using it?
>>
>> Thanks in advance,
>>
>> Juan
>>
>>
>> Ga�tan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>> Le 14 sept. 07 � 16:19, Juan Paredes a �crit :
>>
>> > From: Juan Paredes
>> > Subject: Re: itkLabelCollectionImage toAttributeImageFilter
>> > To: Ga�tan Lehmann
>> >
>> > Hi Gaetan,
>> >
>> > Many thanks for your advice. It works!!!.
>>
>> Great :-)
>>
>> > LabelCollectionImages are very valuable. Very well done!!!.
>>
>> Can you submit a review for that contribution ? A contribution should
>> have at least 3 reviews to be included in the toolkit.
>>
>> >
>> > Now, I´ll try other attributes included in your contribution's new
>> > release.
>> >
>>
>> He you think to some attributes which may be useful, please let me
>> know, and I'll try to add them to the contribution :-)
>>
>> Ga�tan
>>
>>
>> -- 
>> 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
>>
>> Be a better Globetrotter. Get better travel answers from someone  who 
>> knows.
>> Yahoo! Answers - Check it out.
> 
> 
> -- 
> 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