Hi Fiji/ImageJ scripter,
I have already developed a script in which I am using ImagePlus but I want to use the ImageJ Ops opportunity to make operation on images and for that I need to convert the ImagePlus to Dataset and i do not want to rewrite the first part of my script.
If i understand correctly the process, I have written:
ij = ImageJ() context = ij.getContext() convertService = context.service(ConvertService.class) data = convertService.convert(imp, net.imagej.Dataset.class)
And I have this error : AttributeError: instance attr: class
Maybe I missed something but I do not understand why i am getting this error.
Could you help me
thank you by advance