BUG: Fix ImageDuplicator tests.
BUG: Fix ImageDuplicator tests.

It was computing incorrectly the size of the new image buffer in
bytes, for the case of VectorImages.

Change-Id: I4b07531dca14c10bac365f48d736c12a8004fcc2

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