Exemple #1
0
 def setup_reader(self):
     """"Setup the reader in here.  This is called after the engine 
     has been created and started.  The engine is available as 
     self.e.  This method is called by setUp().
     """
     # Read a Meta Image file.
     r = ImageReader()
     r.initialize(get_example_data('foot.mha'))
     self.e.add_source(r)
     self.bounds = (0.0, 255.0, 0.0, 255.0, 0.0, 0.0)
Exemple #2
0
 def setup_reader(self):
     """"Setup the reader in here.  This is called after the engine 
     has been created and started.  The engine is available as 
     self.e.  This method is called by setUp().
     """
     # Read a DEM Image file.
     r = ImageReader()
     r.initialize(get_example_data('example.dem'))
     self.e.add_source(r)
     self.bounds = (557945.0, 567725.0, 5107991.5, 5121971.5, 682.0, 682.0)
Exemple #3
0
 def setup_reader(self):
     
     """"Setup the reader in here.  This is called after the engine 
     has been created and started.  The engine is available as 
     self.e.  This method is called by setUp().
     """
      # Read a Meta Image file.
     r = ImageReader()
     r.initialize(get_example_data('foot.mha'))
     self.e.add_source(r)
     self.bounds =(0.0, 255.0, 0.0, 255.0, 0.0, 0.0)
Exemple #4
0
 def setup_reader(self):
     
     """"Setup the reader in here.  This is called after the engine 
     has been created and started.  The engine is available as 
     self.e.  This method is called by setUp().
     """
      # Read a DEM Image file.
     r = ImageReader()
     r.initialize(get_example_data('example.dem'))
     self.e.add_source(r)
     self.bounds =(557945.0, 567725.0, 5107991.5, 5121971.5, 682.0, 682.0)