<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.13" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to select the right mask for a
registration process. I've seen that ImageSpatialObject can be used as mask to
restrict the metric to a specific region, but it does count zero values.
ImageMaskSpatial object does not count them as it returns false for isInside,
but I'm not sure it does it for the whole image or you can define a region where
to check, so what I'm looking for is a mask that defines a region (so a binary
spatial object is defined) and within that region it does not count zero
values.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best,</FONT></DIV>
<DIV><FONT face=Arial size=2>David</FONT></DIV></BODY></HTML>