//load ImageJ
%classpath config resolver imagej.public https://maven.imagej.net/content/groups/public
%classpath add mvn net.imagej imagej 2.0.0-rc-67
//create ImageJ object
ij = new net.imagej.ImageJ()
Added new repo: imagej.public
net.imagej.ImageJ@50987afc
This Op
can be used to make a new reference to an Object
. As of now this is not all to useful; many of the applications of this Op
are still to come.
input = ij.scifio().datasetIO().open("http://imagej.net/images/abe.tif")
ij.notebook().display(input)
identity()
is called as follows:
ij.op().help('identity')
Available operations: (Object arg) = net.imagej.ops.identity.DefaultIdentity( Object arg)
We can check to see if the input
reference to our image is the same as the copied reference that comes from identity
using the ==
operator:
copy = ij.op().identity(input)
copy == input
true