added explicit type conversion
added explicit type conversion

--HG--
branch : matlab-extract

psteinb/vigra,stuarteberg/vigra,cha007/vigra,funkey/vigra,cha007/vigra,cbecker/vigra,hmeine/vigra,dagophil/vigra,dstoe/vigra,kod3r/vigra,timoMa/vigra,martinsch/vigra,cbecker/vigra,DaveRichmond-/vigra,capturePointer/vigra,DaveRichmond-/vigra,funkey/vigra,ThomasWalter/vigra,xiwei-zhang/vigra,mmuellner/vigra,psteinb/vigra,xiwei-zhang/vigra,funkey/vigra,capturePointer/vigra,hmeine/vigra,psteinb/vigra,dagophil/vigra,mmuellner/vigra,funkey/vigra,dstoe/vigra,timoMa/vigra,stuarteberg/vigra,kod3r/vigra,dstoe/vigra,stuarteberg/vigra,hmeine/vigra,martinsch/vigra,dagophil/vigra,ThomasWalter/vigra,capturePointer/vigra,martinsch/vigra,hmeine/vigra,dstoe/vigra,capturePointer/vigra,cbecker/vigra,psteinb/vigra,DaveRichmond-/vigra,DaveRichmond-/vigra,stuarteberg/vigra,mmuellner/vigra,timoMa/vigra,dstoe/vigra,xiwei-zhang/vigra,cha007/vigra,cha007/vigra,dagophil/vigra,mmuellner/vigra,capturePointer/vigra,kod3r/vigra,mmuellner/vigra,cha007/vigra,hmeine/vigra,xiwei-zhang/vigra,funkey/vigra,stuarteberg/vigra,xiwei-zhang/vigra,kod3r/vigra,cbecker/vigra,martinsch/vigra,martinsch/vigra,timoMa/vigra,ThomasWalter/vigra,cha007/vigra,hmeine/vigra,dagophil/vigra,dagophil/vigra,funkey/vigra,timoMa/vigra,xiwei-zhang/vigra,cha007/vigra,dstoe/vigra,dagophil/vigra,mmuellner/vigra,ThomasWalter/vigra,capturePointer/vigra,cbecker/vigra,kod3r/vigra,kod3r/vigra,timoMa/vigra,stuarteberg/vigra,martinsch/vigra,psteinb/vigra,ThomasWalter/vigra,cbecker/vigra,kod3r/vigra,DaveRichmond-/vigra,funkey/vigra,DaveRichmond-/vigra,psteinb/vigra,timoMa/vigra,hmeine/vigra,stuarteberg/vigra,dstoe/vigra,xiwei-zhang/vigra,mmuellner/vigra,psteinb/vigra,ThomasWalter/vigra,DaveRichmond-/vigra,ThomasWalter/vigra,capturePointer/vigra