History of AFNI updates  

|
November 29, 2022 02:44PM
I have ~5000 datasets, that's why I am trying to use a script.

I just found out that in order to have the shape got closed by your program, the first line should be repeated as the last not once, but twice.
By doing this, the shape gets closed and the mask that I obtain matches exactly what I need. I used the original list of coordinates, which are reported following either a clockwise or an anti-clockwise direction around the polygon.

Thank you SO much! Maybe it would be useful to implement this program in AFNI, as other people might need to do a similar task, maybe!

Giuseppe



Edited 1 time(s). Last edit at 11/29/2022 02:46PM by gbarisano.
Subject Author Posted

Filling a closed curve ROI from coordinates of the vertices Attachments

gbarisano November 21, 2022 11:15PM

Re: Filling a closed curve ROI from coordinates of the vertices

ptaylor November 22, 2022 06:21AM

Re: Filling a closed curve ROI from coordinates of the vertices

gbarisano November 23, 2022 11:13PM

Re: Filling a closed curve ROI from coordinates of the vertices Attachments

ptaylor November 26, 2022 07:14PM

Re: Filling a closed curve ROI from coordinates of the vertices

ptaylor November 26, 2022 07:16PM

Re: Filling a closed curve ROI from coordinates of the vertices Attachments

gbarisano November 28, 2022 02:42PM

Re: Filling a closed curve ROI from coordinates of the vertices

ptaylor November 28, 2022 03:08PM

Re: Filling a closed curve ROI from coordinates of the vertices

gbarisano November 29, 2022 02:44PM

Re: Filling a closed curve ROI from coordinates of the vertices

ptaylor November 29, 2022 07:29PM

Re: Filling a closed curve ROI from coordinates of the vertices

Daniel Glen December 05, 2022 04:35PM