fix GetMaskImage when mask and input are not of the same type
fix GetMaskImage when mask and input are not of the same type

BlueBrain/ITK,malaterre/ITK,fuentesdt/InsightToolkit-dev,richardbeare/ITK,jmerkow/ITK,stnava/ITK,paulnovo/ITK,biotrump/ITK,jmerkow/ITK,stnava/ITK,paulnovo/ITK,hinerm/ITK,jmerkow/ITK,hendradarwin/ITK,hinerm/ITK,heimdali/ITK,rhgong/itk-with-dom,LucHermitte/ITK,wkjeong/ITK,ajjl/ITK,stnava/ITK,jmerkow/ITK,paulnovo/ITK,fuentesdt/InsightToolkit-dev,zachary-williamson/ITK,itkvideo/ITK,InsightSoftwareConsortium/ITK,PlutoniumHeart/ITK,paulnovo/ITK,CapeDrew/DITK,eile/ITK,LucasGandel/ITK,richardbeare/ITK,paulnovo/ITK,LucHermitte/ITK,hendradarwin/ITK,CapeDrew/DITK,fedral/ITK,fbudin69500/ITK,daviddoria/itkHoughTransform,BlueBrain/ITK,atsnyder/ITK,zachary-williamson/ITK,paulnovo/ITK,itkvideo/ITK,BlueBrain/ITK,hjmjohnson/ITK,rhgong/itk-with-dom,blowekamp/ITK,daviddoria/itkHoughTransform,hjmjohnson/ITK,blowekamp/ITK,daviddoria/itkHoughTransform,thewtex/ITK,itkvideo/ITK,wkjeong/ITK,richardbeare/ITK,CapeDrew/DITK,paulnovo/ITK,eile/ITK,rhgong/itk-with-dom,hinerm/ITK,jmerkow/ITK,stnava/ITK,jcfr/ITK,GEHC-Surgery/ITK,malaterre/ITK,fuentesdt/InsightToolkit-dev,fedral/ITK,wkjeong/ITK,zachary-williamson/ITK,cpatrick/ITK-RemoteIO,malaterre/ITK,CapeDrew/DITK,msmolens/ITK,CapeDrew/DCMTK-ITK,hjmjohnson/ITK,vfonov/ITK,vfonov/ITK,hinerm/ITK,stnava/ITK,hinerm/ITK,hinerm/ITK,BRAINSia/ITK,hendradarwin/ITK,biotrump/ITK,vfonov/ITK,fbudin69500/ITK,hendradarwin/ITK,fuentesdt/InsightToolkit-dev,hinerm/ITK,richardbeare/ITK,jmerkow/ITK,malaterre/ITK,hinerm/ITK,itkvideo/ITK,InsightSoftwareConsortium/ITK,daviddoria/itkHoughTransform,fuentesdt/InsightToolkit-dev,CapeDrew/DCMTK-ITK,zachary-williamson/ITK,CapeDrew/DITK,CapeDrew/DCMTK-ITK,Kitware/ITK,GEHC-Surgery/ITK,LucasGandel/ITK,spinicist/ITK,malaterre/ITK,stnava/ITK,GEHC-Surgery/ITK,malaterre/ITK,biotrump/ITK,wkjeong/ITK,thewtex/ITK,BRAINSia/ITK,InsightSoftwareConsortium/ITK,BlueBrain/ITK,PlutoniumHeart/ITK,biotrump/ITK,daviddoria/itkHoughTransform,LucHermitte/ITK,BlueBrain/ITK,cpatrick/ITK-RemoteIO,zachary-williamson/ITK,itkvideo/ITK,wkjeong/ITK,blowekamp/ITK,msmolens/ITK,msmolens/ITK,atsnyder/ITK,CapeDrew/DITK,blowekamp/ITK,vfonov/ITK,eile/ITK,jcfr/ITK,CapeDrew/DCMTK-ITK,heimdali/ITK,jcfr/ITK,malaterre/ITK,richardbeare/ITK,thewtex/ITK,daviddoria/itkHoughTransform,fedral/ITK,fuentesdt/InsightToolkit-dev,jcfr/ITK,fedral/ITK,hendradarwin/ITK,heimdali/ITK,atsnyder/ITK,LucHermitte/ITK,msmolens/ITK,heimdali/ITK,rhgong/itk-with-dom,LucHermitte/ITK,heimdali/ITK,spinicist/ITK,spinicist/ITK,blowekamp/ITK,LucasGandel/ITK,hjmjohnson/ITK,fuentesdt/InsightToolkit-dev,wkjeong/ITK,jcfr/ITK,malaterre/ITK,msmolens/ITK,hinerm/ITK,ajjl/ITK,PlutoniumHeart/ITK,ajjl/ITK,cpatrick/ITK-RemoteIO,cpatrick/ITK-RemoteIO,hendradarwin/ITK,heimdali/ITK,fedral/ITK,msmolens/ITK,eile/ITK,wkjeong/ITK,Kitware/ITK,LucHermitte/ITK,hjmjohnson/ITK,GEHC-Surgery/ITK,BRAINSia/ITK,fedral/ITK,BlueBrain/ITK,eile/ITK,CapeDrew/DCMTK-ITK,eile/ITK,atsnyder/ITK,Kitware/ITK,malaterre/ITK,BRAINSia/ITK,rhgong/itk-with-dom,daviddoria/itkHoughTransform,itkvideo/ITK,GEHC-Surgery/ITK,PlutoniumHeart/ITK,CapeDrew/DCMTK-ITK,ajjl/ITK,spinicist/ITK,heimdali/ITK,CapeDrew/DCMTK-ITK,fuentesdt/InsightToolkit-dev,eile/ITK,jcfr/ITK,GEHC-Surgery/ITK,cpatrick/ITK-RemoteIO,Kitware/ITK,richardbeare/ITK,biotrump/ITK,biotrump/ITK,BRAINSia/ITK,cpatrick/ITK-RemoteIO,heimdali/ITK,stnava/ITK,hjmjohnson/ITK,PlutoniumHeart/ITK,spinicist/ITK,fbudin69500/ITK,stnava/ITK,hendradarwin/ITK,LucasGandel/ITK,fbudin69500/ITK,fbudin69500/ITK,vfonov/ITK,CapeDrew/DITK,stnava/ITK,jmerkow/ITK,LucasGandel/ITK,fuentesdt/InsightToolkit-dev,zachary-williamson/ITK,atsnyder/ITK,eile/ITK,atsnyder/ITK,CapeDrew/DITK,GEHC-Surgery/ITK,thewtex/ITK,atsnyder/ITK,richardbeare/ITK,BRAINSia/ITK,LucHermitte/ITK,itkvideo/ITK,msmolens/ITK,InsightSoftwareConsortium/ITK,itkvideo/ITK,hendradarwin/ITK,zachary-williamson/ITK,spinicist/ITK,wkjeong/ITK,fbudin69500/ITK,rhgong/itk-with-dom,ajjl/ITK,vfonov/ITK,PlutoniumHeart/ITK,jcfr/ITK,Kitware/ITK,fbudin69500/ITK,LucasGandel/ITK,ajjl/ITK,msmolens/ITK,BRAINSia/ITK,InsightSoftwareConsortium/ITK,spinicist/ITK,fbudin69500/ITK,thewtex/ITK,cpatrick/ITK-RemoteIO,hjmjohnson/ITK,PlutoniumHeart/ITK,itkvideo/ITK,vfonov/ITK,LucHermitte/ITK,PlutoniumHeart/ITK,rhgong/itk-with-dom,daviddoria/itkHoughTransform,biotrump/ITK,BlueBrain/ITK,atsnyder/ITK,jcfr/ITK,Kitware/ITK,CapeDrew/DCMTK-ITK,biotrump/ITK,blowekamp/ITK,blowekamp/ITK,GEHC-Surgery/ITK,zachary-williamson/ITK,thewtex/ITK,paulnovo/ITK,BlueBrain/ITK,InsightSoftwareConsortium/ITK,vfonov/ITK,eile/ITK,LucasGandel/ITK,zachary-williamson/ITK,fedral/ITK,CapeDrew/DITK,cpatrick/ITK-RemoteIO,jmerkow/ITK,spinicist/ITK,CapeDrew/DCMTK-ITK,InsightSoftwareConsortium/ITK,fedral/ITK,ajjl/ITK,daviddoria/itkHoughTransform,rhgong/itk-with-dom,LucasGandel/ITK,spinicist/ITK,vfonov/ITK,Kitware/ITK,atsnyder/ITK,thewtex/ITK,ajjl/ITK,blowekamp/ITK