예제 #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
파일: test_apm.py 프로젝트: Purg/vital
 def test_registered_names(self):
     AlgorithmPluginManager.register_plugins('vital_core')
     nose.tools.assert_in('vital_core',
                          AlgorithmPluginManager.registered_module_names())
예제 #6
0
파일: test_apm.py 프로젝트: Purg/vital
 def test_add_search_path_bad_dir(self):
     AlgorithmPluginManager.add_search_path("/probably/not/a/directory/foo")
     self.test_load_named()
예제 #7
0
파일: test_apm.py 프로젝트: Purg/vital
 def test_add_search_path(self):
     AlgorithmPluginManager.add_search_path("/")
     self.test_load_named()
예제 #8
0
파일: test_apm.py 프로젝트: Purg/vital
 def test_load_named(self):
     AlgorithmPluginManager.register_plugins("vital_core")
예제 #9
0
파일: test_apm.py 프로젝트: Purg/vital
 def test_load(self):
     AlgorithmPluginManager.register_plugins()
예제 #10
0
 def setup_class(cls):
     AlgorithmPluginManager.register_plugins()
예제 #11
0
 def test_registered_names(self):
     AlgorithmPluginManager.register_plugins('vital_core')
     nose.tools.assert_in('vital_core',
                          AlgorithmPluginManager.registered_module_names())
예제 #12
0
 def test_add_search_path_bad_dir(self):
     AlgorithmPluginManager.add_search_path("/probably/not/a/directory/foo")
     self.test_load_named()
예제 #13
0
 def test_add_search_path(self):
     AlgorithmPluginManager.add_search_path("/")
     self.test_load_named()
예제 #14
0
 def test_load_named(self):
     AlgorithmPluginManager.register_plugins("vital_core")
예제 #15
0
 def test_load(self):
     AlgorithmPluginManager.register_plugins()
예제 #16
0
    def setup_class(cls):
        AlgorithmPluginManager.register_plugins()

        cls.test_image_filepath = osp.join(TEST_DATA_DIR,
                                           'test_kitware_logo.jpg')