Closed bnorthan closed 7 years ago
This example is based on gitter advice from @dietzc.
Nice example !
FYI, look at this similar script : http://imagej.net/ImageJ2_Python_Scripts#Retrieve_objects.2Fparticles_from_a_mask
Few comments :
you refer to the "Crop Confocal Series tutorial" but it doesn't run anymore because of modification in the ops namespace (ops.transform().crop
instead of ops.image().crop
). Could you modify the "Crop Confocal Series tutorial" script ?
To avoid issue like that in the future, do you mind adding a test for both scripts ? It's very easy to do. Look at https://github.com/imagej/imagej-scripting/blob/master/src/test/java/net/imagej/scripting/ImageJ2ScriptTest.java#L30 for an example.
@hadim I am pretty sure @hinerm fixed the Crop Confocal Series a while ago. I also went through a bunch of the scripts and fixed a few things just before Christmas.
Are all the changes we are making being distributed?? My Fiji has imagej-scripting-0.4.0. Do you think we should update the main build to use 0.4.1? Do you know how to do this?? If not we should ping the experts and figure it out, so we can make sure all the new scripts and updates are making it into the build.
@bnorthan I am happy to cut a new release of imagej-scripting
, and update pom-scijava
and imagej
to use it, whenever you say the word.
Ideally we would always be doing this in tandem with breaking changes. The melting-pot builds I want to put into place will greatly help with that. Until those exist though, we just need to muddle through.
There is 4 easy PRs to review. Maybe we could take care of that @bnorthan and once it's done @ctrueden can cut a new release.
What do you think ?
Yes, we should be able to close the open pull request by early next week.
@hadim @ctrueden I merged three of the open pull requests and closed and deleted the other, which was redundant. I still need to add some tests for my scripts (the testing framework is very easy to work with @hadim , good work). I should be finished that Monday, and we should be ready to cut a new release.
Add an example showing how to label then measure the size and intensity of objects using ops and imglib2.