[Insight-users] mask in Euclidean distance map computation
Dan Mueller
dan.muel at gmail.com
Tue Jul 6 00:20:54 EDT 2010
Hi Yi,
You should be able to restrict operations to a rectangular region by calling:
distanceFilter->GetOutput()->SetRequestedRegion( region );
I do not believe it is possible to restrict the operation to an
arbitrarily shaped mask (at least for
SignedMaurerDistanceMapImageFilter).
HTH
Cheers, Dan
On 6 July 2010 05:09, Gao, Yi <gaoyi.cn at gmail.com> wrote:
> Dear all,
>
> I'm trying to compute the Euclidean distance map on an rectangular
> domain. However, I want to compute the distance map within the certain
> region represented by a binary image. Could I know if there is a
> straight forward way to do that?
>
> Thank you in advance!
>
> Best,
> yi
More information about the Insight-users
mailing list