X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkBooleanOperatorLabelImageFilter.h;h=13a9b748a27b9be6b3816aa0a3196ddd5db930b3;hb=3c89981c4f78fe15b1087f40e51e37c0c1fb087c;hp=f81b4402a14cf2dbcc4f8995bb298e13b2992106;hpb=fdc97293cc66a4894a2c1c4f04f53d6473ab8ab2;p=clitk.git diff --git a/itk/clitkBooleanOperatorLabelImageFilter.h b/itk/clitkBooleanOperatorLabelImageFilter.h index f81b440..13a9b74 100644 --- a/itk/clitkBooleanOperatorLabelImageFilter.h +++ b/itk/clitkBooleanOperatorLabelImageFilter.h @@ -81,7 +81,8 @@ namespace clitk { // Set type of operation typedef enum { And = 0, - AndNot = 1 + AndNot = 1, + Or = 2 } OperationTypeEnumeration; itkGetMacro(OperationType, OperationTypeEnumeration); itkSetMacro(OperationType, OperationTypeEnumeration); @@ -105,7 +106,8 @@ namespace clitk { virtual void GenerateInputRequestedRegion(); virtual void GenerateData(); - virtual void ReleaseInputs() { } // Do not release date to keep input in memory and continue ... + // Do not release date to keep input in memory and continue ... + virtual void ReleaseInputs() { } Input1ImagePixelType mBackgroundValue1; Input2ImagePixelType mBackgroundValue2; @@ -120,6 +122,7 @@ namespace clitk { template void LoopAndNot(Iter1 it1, Iter1 it2, Iter2 ot); template void LoopAnd(Iter1 it1, Iter1 it2, Iter2 ot); + template void LoopOr(Iter1 it1, Iter1 it2, Iter2 ot); private: BooleanOperatorLabelImageFilter(const Self&); //purposely not implemented