X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fbbs%2Fappli%2FImageInfo.bbs;h=da1f3e821a65ef30575c804fe3da75ba6cc3ea1a;hb=c333db268f8b73bcf7fe7ff9eeed8394252f1c94;hp=6e24f9dbb77881e481ceb350a5ef844a21fe8583;hpb=adf48958c2f25cfb4444a049cb0bce4c9e4bbabe;p=bbtk.git diff --git a/packages/itk/bbs/appli/ImageInfo.bbs b/packages/itk/bbs/appli/ImageInfo.bbs index 6e24f9d..da1f3e8 100644 --- a/packages/itk/bbs/appli/ImageInfo.bbs +++ b/packages/itk/bbs/appli/ImageInfo.bbs @@ -13,19 +13,19 @@ new ImageReader reader include std/boxes/bbPrependDataPath new PrependDataPath pdp set pdp.In "thorax.hdr" -#connect pdp.Out reader.Filename +#connect pdp.Out reader.In # Allow user to specify his own image, in GUI mode (-g option) #--------------------------------------------------------------- -set reader.Filename "thorax.hdr" -input In reader.Filename "Input file" +set reader.In "hola.mhd" +input I reader.In "Input image file" new ImageProperties P connect reader.Out P.In -print "Type = $P.TypeName$\n" -print "Dimension = $P.Dimension$\n" -print "Size = $P.Size$\n" -print "Spacing = $P.Spacing$\n" +print "Type = $P.TypeName$" +print "Dimension = $P.Dimension$" +print "Size = $P.Size$" +print "Spacing = $P.Spacing$" #graph