-
Marine May 28, 2019 at 2:02 pm
Hello,
Is there a way to remove ROI already detected (using HK-means and active contours) that touch image border?
Thank you for your help!
Marine
Stephane Dallongeville May 28, 2019 at 7:00 pmHi Marine,
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).Best,
– Stephane
deborakeller0@gmail.com September 6, 2019 at 3:59 pmHI Stephane,
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
Debbi
// 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()))
continue;output0[ind++] = r;
}Stephane Dallongeville September 17, 2019 at 4:44 pmThe 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 🙂
– Stephane
The forum ‘Protocols’ is closed to new topics and replies.