imagej / imagej-scripting

ImageJ-specific applications of the SciJava script languages
Other
25 stars 15 forks source link

Add measure examples #23

Closed bnorthan closed 7 years ago

bnorthan commented 7 years ago

Add an example showing how to label then measure the size and intensity of objects using ops and imglib2.

bnorthan commented 7 years ago

This example is based on gitter advice from @dietzc.

hadim commented 7 years ago

Nice example !

FYI, look at this similar script : http://imagej.net/ImageJ2_Python_Scripts#Retrieve_objects.2Fparticles_from_a_mask

Few comments :

bnorthan commented 7 years ago

@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.

ctrueden commented 7 years ago

@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.

hadim commented 7 years ago

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 ?

bnorthan commented 7 years ago

Yes, we should be able to close the open pull request by early next week.

bnorthan commented 7 years ago

@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.