示例#1
0
    def __init__(self):
        AlgorithmPluginManager.register_plugins()

        # Algorithms
        self.algo_convert_img = ConvertImage("convert_image")
        self.algo_image_io = ImageIo("image_reader")
        self.algo_track_features = TrackFeatures("feature_tracker")

        # Other tool variables
        self.image_list_filepath = None
        self.mask_list_filepath = None
        self.invert_masks = False
        self.expect_multichannel_masks = False
        self.output_tracks_filepath = None
示例#2
0
    def __init__(self):
        AlgorithmPluginManager.register_plugins()

        # Algorithms
        self.algo_convert_img = ConvertImage("convert_image")
        self.algo_image_io = ImageIo("image_reader")
        self.algo_track_features = TrackFeatures("feature_tracker")

        # Other tool variables
        self.image_list_filepath = None
        self.mask_list_filepath = None
        self.invert_masks = False
        self.expect_multichannel_masks = False
        self.output_tracks_filepath = None
示例#3
0
    def setup_class(cls):
        AlgorithmPluginManager.register_plugins()

        cls.test_image_filepath = osp.join(TEST_DATA_DIR,
                                           'test_kitware_logo.jpg')
示例#4
0
 def setup_class(cls):
     AlgorithmPluginManager.register_plugins()
示例#5
0
 def test_registered_names(self):
     AlgorithmPluginManager.register_plugins('maptk_core')
     nose.tools.assert_in('maptk_core',
                          AlgorithmPluginManager.registered_module_names())
示例#6
0
 def test_load_named(self):
     AlgorithmPluginManager.register_plugins("maptk_core")
示例#7
0
 def test_load(self):
     AlgorithmPluginManager.register_plugins()
示例#8
0
    def setup_class(cls):
        AlgorithmPluginManager.register_plugins()

        cls.test_image_filepath = osp.join(TEST_DATA_DIR, "test_kitware_logo.jpg")
示例#9
0
 def test_registered_names(self):
     AlgorithmPluginManager.register_plugins('maptk_core')
     nose.tools.assert_in('maptk_core',
                          AlgorithmPluginManager.registered_module_names())
示例#10
0
 def test_load_named(self):
     AlgorithmPluginManager.register_plugins("maptk_core")
示例#11
0
 def test_load(self):
     AlgorithmPluginManager.register_plugins()
 def setup_class(cls):
     AlgorithmPluginManager.register_plugins()