Re: [micro-manager-general] Spam (8.588):Re: Spam (12.588):Re: Steps to get a functional plugin, le
Status: Beta
Brought to you by:
nicost
|
From: Carlos G M. <tr...@ac...> - 2020-04-09 21:55:04
|
Nico Stuurman @ 09/04/2020 18:23 -0300 dixit: > Haven't looked at this directly, but it seems safer to use the event > directly to get the image: > > image = event.getImage(); > > You can then > > studio_.ij().createProcessor(image) > > to get the ImageJ ImageProcessor, and get the stats from there. > > At the surface, looks similar to what you have, but avoids calling the > deprecated DisplayWindow.getImagePlus(), which has the scary looking > javadoc: > Wow, that works. Not bad, thanks. You may take it for a ride :) Work in progress, but useful state, I guess. Is it ok to post here the jar ? Sources ? 22k for the jar, 15k for 2 .java source files. -- Carlos G Mendioroz <tr...@ac...> |