Hi, Prateek-
How about make a text file with all xyz coords (first 3 cols) and ROI values (4th col), called file_xyz_and_values.txt, which could look like, say:
-17 47 -48 1
47 -27 -7 2
-7 -80 -12 35
52 -19 -29 4
-29 5 -12 12
Then, 3dUndump that text file, and you can see the preferences given by ordering in cases of overlap:
3dUndump \
-overwrite \
-xyz \
-orient RAI \
-prefix M2.nii.gz \
-master REFERENCE_DSET \
-datum byte \
-srad 10 \
file_xyz_and_values.txt
... so you can control which seed/ROI "wins" in cases of overlap?
--pt