I have about 200 .tif images in about 5 directories. They are identical in scale, and all contain a scale bar in a fixed position and known length.
I would like to attach a Calibration to every image, based on a user selecting the two ends of the scale bar in one image, and then propagating that Calibration to the same ther images. My plan is one Java plugin (I’m most comfortable with these) to establish the Calibration and save it (how? What format?) and then another to allow the user to specify the saved scale information and a directory contained Ning many images. This second plugin would simply attach the Calibration to every image in the directory and overwrite the images. Any hints? For now I think I just want mm/pixel, but it might be nice to generalize to all parameters of a Calubration. -Kenneth Sloan On Fri, Jun 21, 2024 at 05:27 CARL Philippe (LBP) <[email protected]> wrote: > Dear all, > With the macro instruction RoiManager.selectGroup(group) I can select a > bunch of ROIs which have previously be set as being part of a given group. > How can I then get the indexes of the selected ROIs ? > RoiManager.selected gives me only the number of selected ROIs. > As roiManager("index") gives me only "the index of the first selected ROI > if more than one is selected". > Thus it seems that a macro instruction like roiManager("indexes") is > missing. > Or is there an alternative method that I may be missing ? > Thanks a lot in advance for your help. > My best regards, > Philippe > > Philippe CARL > Laboratoire de Bioimagerie et Pathologies > UMR 7021 CNRS - Université de Strasbourg > Faculté de Pharmacie > 74 route du Rhin > <https://www.google.com/maps/search/74+route+du+Rhin?entry=gmail&source=g> > 67401 ILLKIRCH > Tel : +33(0)3 68 85 41 41 > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
