]> Creatis software - creaVtk.git/commitdiff
#3238 creaVtk Feature New Normal - ApplyMask box
authorEduardo DAVILA <davila@localhost.localdomain>
Fri, 24 Apr 2020 13:10:44 +0000 (15:10 +0200)
committerEduardo DAVILA <davila@localhost.localdomain>
Fri, 24 Apr 2020 13:10:44 +0000 (15:10 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.cxx

index 52c1ed2d2ac50373316af68e4a7085a0eeaad67f..70fdff112fe1804cbf9f1539750efbe07210ef33 100644 (file)
@@ -88,7 +88,7 @@ void ApplyMask::Process()
                                for (i=0; i<size;i++)
                                {
                                        DEF_POINTER_IMAGE_VTK_CREA(vI,ssI,pI,stI, bbGetInputImage() );
-                                       DEF_POINTER_IMAGE_VTK_CREA(vM,ssM,pM,stM, bbGetInputMask() );
+                                       DEF_POINTER_IMModifieAGE_VTK_CREA(vM,ssM,pM,stM, bbGetInputMask() );
                                        DEF_POINTER_IMAGE_VTK_CREA(vO,ssO,pO,stO, resultImage );
                                        GETVALUE2_VTK_CREA(vM,pM,stM,i);
 
@@ -124,6 +124,7 @@ void ApplyMask::Process()
 
                                } // for
                } //if dim
+               resultImage->Modified();
                bbSetOutputOut( resultImage );
        } // if Image && Mask   
 }