Generic ImageJ test function
@@ -15,6 +15,11 @@ class ImageJTest:
plgn = ps.imagej.imagej_wrapper(img, 'mean', 'sc.fiji:fiji:2.1.1')
assert sum(plgn.shape) == 150
+ def test_imagej_plugin(self):
+ if system() == 'Windows':
+ img = ps.generators.blobs(shape=[50, 50, 50], porosity=.5, blobiness=2)
+ test = ps.imagej.imagej_plugin(img, path='sc.fiji:fiji:2.1.1', plugin_name='Mean 3D...', args={'options':'True'})
+ assert sum(test.shape) == 150
if __name__ == "__main__":
t = ImageJTest()
