[Insight-users] label object manipulation

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Jul 23 08:36:42 EDT 2009


Le 22 juil. 09 à 23:16, Sophie Chen a écrit :

> Hi Gaetan,

Hi Sophie,

>
> We have completed porting the following filters to ITK Review:
>
> AggregateLabelMapFilter
> ChangeLabelLabelMapFilter
> MergeLabelMapFilter
> PackLabelMapFilter  -> RelabelLabelMapFilter

Ok, I was writing a mail to say that RelabelLabelMapFilter doesn't  
have the same behavior than the other "Relabel" filters

   AttributeRelabelLabelMapFilter
   ShapeRelabelLabelMapFilter
   StatisticsRelabelLabelMapFilter

   AttributeRelabelImageFilter
   ShapeRelabelImageFilter
   StatisticsRelabelImageFilter

   RelabelImageFilter

but I realize that it does have the same behavior. So the name seems  
quite good :-)

I even think that it may be implemented as a subclass of  
AttributeRelabelImageFilter, with  
itk::Functor::LabelLabelObjectAccessor as accessor type.

> ShiftScaleLabelMapFilter
>
> AutoCropLabelMapFilter
> ChangeRegionLabelMapFilter
>
> We changed the name for PackLabelMapFilter for the transition to  
> clarify its function a bit more.
>
> Filters being processed:
> CropLabelMapFilter
> PadLabelMapFilter
> RegionFromReferenceLabelMapFilter
>
>

Thanks!
I'll begin to add them in wrapitk :-)

> 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


A few ones have been updated recently (in July), like  
itkShapeLabelMapFilter.h. Be sure to get the last version.

   http://voxel.jouy.inra.fr/darcs/contrib-itk/binaryAttributeMorphology/binaryAttributeMorphology.tar.gz

Regards,

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/be41eff5/attachment.pgp>


More information about the Insight-users mailing list