[Insight-users] [Insight-developers] label object manipulation
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Jul 23 08:45:54 EDT 2009
Le 23 juil. 09 à 14:36, Gaëtan Lehmann a écrit :
>
> Le 22 juil. 09 à 23:16, Sophie Chen a écrit :
>
>> The remaining three filters will ideally be ported within the next
>> day or two. Would you have any suggestions which filters should be
>> ported next? Or are there additional filters we should update?
>> Thanks!
>>
>
> I guess it will be time to add ShapeLabelObject and all the filters
> dedicated to use it:
>
> itkShapeLabelObject.h
> itkShapeLabelMapFilter.h
>
> itkBinaryImageToShapeLabelMapFilter.h
> itkLabelImageToShapeLabelMapFilter.h
>
> itkShapeKeepNObjectsLabelMapFilter.h
> itkShapeOpeningLabelMapFilter.h
> itkShapePositionLabelMapFilter.h
> itkShapeRelabelLabelMapFilter.h
> itkShapeUniqueLabelMapFilter.h
>
> itkBinaryShapeKeepNObjectsImageFilter.h
> itkBinaryShapeOpeningImageFilter.h
> itkLabelShapeKeepNObjectsImageFilter.h
> itkLabelShapeOpeningImageFilter.h
> itkShapeRelabelImageFilter.h
>
I forgot to say that I've used some templated methods in those
filters, and that it may be a problem on some compilers (like msvc6).
I've used a different approach in itkShapeUniqueLabelMapFilter.h and
itkShapePositionLabelMapFilter.h: the methods are calling a templated
function, which is located in itkLabelMapUtilities.h. This new
approach shouldn't be a problem for any compilers. It also avoid some
code duplication.
It would be great to commit one of those two new filters before
committing the other filters, and look on the dashboard how it builds
on the different system and compilers we have. If it works fine, I'll
help to change the other filters to the same kind of implementation.
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 http://www.itk.org
http://www.mandriva.org http://www.bepo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090723/486ee6bb/attachment.pgp>
More information about the Insight-users
mailing list