]> Creatis software - bbtk.git/blobdiff - packages/itk/bbs/appli/ImageInfo.bbs
FileReader : input 'Filename' is now 'In'
[bbtk.git] / packages / itk / bbs / appli / ImageInfo.bbs
index 6e24f9dbb77881e481ceb350a5ef844a21fe8583..da1f3e821a65ef30575c804fe3da75ba6cc3ea1a 100644 (file)
@@ -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