[Insight-users] How to label the output of binary threshold filter

Ali - saveez at hotmail.com
Wed Oct 17 19:04:54 EDT 2007


Gaëtan,

What would be the best way of iterating over a 'label map' and fit each indivdual object to a know model (eg 2D Gaussian) and then adding the attributes of the fitting (eg the sigma of the Gaussian fit) to the corresponding object? I guess this could be a good extention of your binary attribute morphology classes.

> 
> 
> Le 15 oct. 07 à 16:25, Ali - a écrit :
> 
> > Gaëtan,
> >
> > That include command solved the problem. Thank you.
> >
> 
> Great :-)
> 
> The changes are commited, and will be in the next revision to the  
> insight journal.
> 
> Gaëtan
> 
> 
> > >
> > >
> > > Hi Ali,
> > >
> > > Le 14 oct. 07 à 19:47, Ali - a écrit :
> > >
> > > > Gaëtan,
> > > >
> > > > I get these errors while compiling your IJ labeling classes with
> > > > python wrappers:
> > > >
> > > > Generating wrap_itkStatisticsOpeningLabelMapFilter.xml
> > > > In file included from E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/
> > > > binaryAttributeMorphology/itkLabelMapFilter.h:116,
> > > > from E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/
> > > > binaryAttributeMorphology/itkInPlaceLabelMapFilter.h:23,
> > > > from E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/
> > > > binaryAttributeMorphology/itkShapeOpeningLabelMapFilter.h:20,
> > > > from E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/
> > > > binaryAttributeMorphology/itkStatisticsOpeningLabelMapFilter.h:20,
> > > > from E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/build/
> > > > Wrapping/wrap_itkStatisticsOpeningLabelMapFilter.cxx:19:
> > > > E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/
> > > > binaryAttributeMorphology/itkLabelMapFilter.txx: In
> > > > member function `virtual void itk::LabelMapFilter<TInputImage,
> > > > TOutputImage>::BeforeThreadedGenerateData()':
> > > > E:/dev/itk/IJ/IJ-
> > > > Label_object_representation_and_manipulation_with_ITK.3/
> > > > binaryAttributeMorphology/itkLabelMapFilter.txx:88: error: syntax
> > > > error before `(' token
> > > > Project : error PRJ0019: A tool returned an error code from
> > > > "Generating wrap_itkStatisticsOpeningLabelMapFilter.xml"
> > > >
> > > > The tests compile fine though. Is this a known bug? It was  
> > compiled
> > > > by VS.net 8 SP1.
> > > >
> > >
> > > That's not a known bug.
> > > I think I have forgotten to include itkProgressReporter.h. Can you
> > > add the line:
> > >
> > > #include "itkProgressReporter.h"
> > >
> > > line 23 in itkLabelMapFilter.h", and tell me if it works ?
> > >
> > > Thanks for your patience,
> > >
> > > Gaëtan
> > >
> > >
> > >
> > > > >
> > > > > Le 11 oct. 07 à 17:25, Ali - a écrit :
> > > > >
> > > > > > Gaëtan,
> > > > > >
> > > > > > Are your labeling classes included in ITK cvs version?
> > > > >
> > > > > not yet
> > > > >
> > > > > > Any plans to include them in near future?
> > > > >
> > > > > that contribution is made to be included in ITK, but, I can't  
> > say
> > > > > when it will be effectively included.
> > > > > Anyway, you can use it already if you like :-)
> > > > >
> > > > > Gaëtan
> > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi Ali,
> > > > > > >
> > > > > > > Please look at the contribution I made recently : http://
> > > > insight-
> > > > > > > journal.org/InsightJournalManager/view_reviews.php?
> > > > > > > back=index.php&pubid=176
> > > > > > > I'm using it extensively currently, with WrapITK.
> > > > > > >
> > > > > > > Gaëtan
> > > > > > >
> > > > > > >
> > > > > > > Le 11 oct. 07 à 16:18, Ali - a écrit :
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > How is it possible to have a watershed-output-like for the
> > > > output
> > > > > > > > of a binary threshold filter, that is, how to access the
> > > > > > individual
> > > > > > > > regoins of the output of a binary threshold filter for  
> > further
> > > > > > > > manipulation?
> > > > > > > >
> > > > > > > > The next generation of MSN Hotmail has arrived -  
> > Windows Live
> > > > > > Hotmail
> > > > > > > > _______________________________________________
> > > > > > > > Insight-users mailing list
> > > > > > > > Insight-users at itk.org
> > > > > > > > http://www.itk.org/mailman/listinfo/insight-users
> > > > > > >
> > > > > > > --
> > > > > > > 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
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > Get free emoticon packs and customisation from Windows  
> > Live. Pimp
> > > > > > My Live!
> > > > >
> > > > > --
> > > > > 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
> > > > >
> > > > >
> > > > >
> > > >
> > > > Play Movie Mash-up and win BIG prizes!
> > >
> > > --
> > > 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
> > >
> > >
> > >
> >
> > Do you know a place like the back of your hand? Share local  
> > knowledge with BackOfMyHand.com
> 
> --
> 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
> 
> 
> 

_________________________________________________________________
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20071018/598c4089/attachment.html


More information about the Insight-users mailing list