From: guigues Date: Fri, 15 Feb 2008 09:58:27 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~197 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=163d58ecb67c8b7ece586ea4640c3a0fcf789052;p=bbtk.git *** empty log message *** --- diff --git a/packages/std/bbs/boxes/bbLoadHola.bbs b/packages/std/bbs/boxes/bbLoadHola.bbs new file mode 100644 index 0000000..99605e2 --- /dev/null +++ b/packages/std/bbs/boxes/bbLoadHola.bbs @@ -0,0 +1,18 @@ +load vtk +include util/boxes/bbPrependPackageDataPath + +define LoadHola + description "Loads the image 'hola.mhd'" + author "laurent.guigues at creatis.insa-lyon.fr" + category "image;misc" + + new MetaImageReader reader + new PrependPackageDataPath ppdp + set ppdp.In "hola.mhd" + set ppdp.Package "util" + connect ppdp.Out reader.In + + output Out reader.Out "The image" + output FileName ppdp.Out "The path to the image loaded" + +endefine diff --git a/packages/std/data/hola.mhd b/packages/std/data/hola.mhd new file mode 100644 index 0000000..e1af6ff --- /dev/null +++ b/packages/std/data/hola.mhd @@ -0,0 +1,10 @@ +ObjectType = Image +NDims = 3 +BinaryData = True +BinaryDataByteOrderMSB = False +ElementSpacing = 0.796875 0.796875 0.7 +DimSize = 112 131 192 +Position = 0 0 0 +ElementNumberOfChannels = 1 +ElementType = MET_USHORT +ElementDataFile = hola.raw diff --git a/packages/std/data/hola.raw b/packages/std/data/hola.raw new file mode 100644 index 0000000..fbb1136 Binary files /dev/null and b/packages/std/data/hola.raw differ