I want to know if it’s possible to write custom measurements to run on ROIs within the ROI manager. For the desired adaptation I’m thinking of, I would have objects in the ROI manager, which belong to one of 3 classes. After adding or subtracting ROIs from the manager based on what segmented well, I’d would press ‘Measure’ in the ROI Manager and the results page would contain the output for functions I write which specifically discribe the 3 classes of ROI objects in the manager.
Example functions: Return the distance between Class III objects that are within the same Class II object.
For each Class I object that overlaps with a Class II object, return the length of Class II object.
I have a macro that generates most of the measurements I want (described in these previous posts). However the macro is not perfect in segmenting all the objects I need. Adding and subtracting human approved ROI in the manager is much easier but I don’t know how to integrate the updated objects back into the code of the macro.
How pie-in-the-sky is this idea? Does this type of capability already exist
How feasible would this be for someone who only has experience writing in macro?
Is there an existing plugin that draws on the ROI manager that I could adapt?