Marine May 28, 2019 at 2:02 pm
Is there a way to remove ROI already detected (using HK-means and active contours) that touch image border?
Thank you for your help!
MarineStephane Dallongeville May 28, 2019 at 7:00 pm
I just set up a small protocol to do it called “Remove ROIS touching image border”.
You can download it directly from the application typing “Remove ROIS” into the search bar, it should appears in the “Procotol” section of result (at bottom).
– StephaneMarine May 29, 2019 at 10:29 am
Thanks a lot Stéphane!
It works perfectly.
Marinedeborakeller0@gmail.com September 6, 2019 at 3:59 pm
does this work for all timepoints?
I have the following script (I guess from you before you made it as a protocol) – it works, but only at the first time point.
Any way to make it work at all timepoints ? cheers
// Click on the button
// to edit in a frame.
bounds = input0.getBounds2D()
output0 = 
ind = 0;
for(i = 0; i < input1.length; i++)
r = input1[i]
rbounds = r.getBounds5D().toRectangle2D();
if ((rbounds.getMinX() == bounds.getMinX()) ||
(rbounds.getMinY() == bounds.getMinY()) ||
(rbounds.getMaxX() == bounds.getMaxX()) ||
(rbounds.getMaxY() == bounds.getMaxY()))
output0[ind++] = r;
}Stephane Dallongeville September 17, 2019 at 4:44 pm
The script you’re using doesn’t look really safe for that, why just don’t use the protocol posted above ? it does contains a small part of script doing the job 🙂
The forum ‘Protocols’ is closed to new topics and replies.