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