Cool! Swapping -i and -m gives the same min distance in the output
image, which is a good enough verification.
Thanks
Gordon
On 11/8/11 1:00 AM, Stephen Smith wrote:
> Hi - I think if you run distancemap with an image with just one of the
> ROIs in, and then mask this with the other ROI, then the minimum value
> in the resulting image should be what you want.
>
> Cheers.
>
>
>
> On 8 Nov 2011, at 02:33, Junqian Gordon Xu wrote:
>
>> On the command line level, is there a way to find minimum edge-to-edge
>> distance between two ROIs?
>>
>> Thanks
>> Gordon
>>
>
>
> ---------------------------------------------------------------------------
> Stephen M. Smith, Professor of Biomedical Engineering
> Associate Director, Oxford University FMRIB Centre
>
> FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
> +44 (0) 1865 222726 (fax 222717)
> [log in to unmask] <mailto:[log in to unmask]>
> http://www.fmrib.ox.ac.uk/~steve
> ---------------------------------------------------------------------------
>
>
>
|