Subtract ROI

37 views
Skip to first unread message

Mike Kress

unread,
Jan 12, 2017, 5:36:43 AM1/12/17
to Icy imaging

Dear Developers,


I am using the following  protocol : “Find cells using nuclear and membrane fluorescence”, ROI of nuclei is obtained using block “HK-means” (HK-means detection) and ROI corresponding to cytoplasm is obtained using block “Active contours” (ROI contour (Area 2D)). My goal is to detect objects present only in cytoplasm, so I subtracted ROI nuclei minus ROI cytoplasm and I got an error message: “Can't process subtraction: ROI 1 has infinite C dimension while ROI 2 has a finite one”

Could you explain me this error message and how to only get ROI corresponding to cytoplasm?

Thank you very much in advance.
Sincerely,

Michel

Stephane

unread,
Jan 13, 2017, 11:43:04 AM1/13/17
to Icy imaging
Hi Mike,

Logic operation between ROI can work only for ROI with comparable dimension.
What you can do is to set the C position of the ROIs to "infinite" before doing the operation, for that you need to use the block called "Set ROI position C" and set 'position C' parameter to -1 (-1 = infinite here).
Hope that will help you :)

Best,

- Stephane

Stephane

unread,
Jan 13, 2017, 11:44:31 AM1/13/17
to Icy imaging
Oh i forgot, the protocol block called "Set ROI position C" is bundled in the ROI blocks plugin (maybe you will need to install / update it if you don't find the block).

Mike Kress

unread,
Jan 15, 2017, 5:33:49 AM1/15/17
to Icy imaging
Hi Stéphane,
Thank you for your answer.
It works.
Michel



Le jeudi 12 janvier 2017 11:36:43 UTC+1, Mike Kress a écrit :
Reply all
Reply to author
Forward
0 new messages