[ImageJ-devel] ImageJ2 scripting

Mark Hiner hiner at wisc.edu
Tue Apr 28 13:54:00 CDT 2015


> from jarray import array
> blank=ops.createimg(array([100, 50], 'l'))
>

Thanks for this Brian! It definitely worked for me.

I would like to make things friendlier by automatically converting python
arrays to java, so I opened a new issue:
https://github.com/scijava/scripting-jython/issues/2

Thanks for pointing this out Jan.

Best,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20150428/b7c4c6e5/attachment.html>


More information about the ImageJ-devel mailing list