[Insight-users] masking capabilities

Luis Ibanez luis.ibanez at kitware.com
Mon, 23 Feb 2004 18:41:57 -0500


Hi Carmen,

Masking is not yet supported by the MutualInformation
metric. The best thing you could do at this point is
to register for an account on the bug tracker and
vote for this feature request:

http://www.itk.org/Bug/bug.php?op=show&bugid=255&pos=21

You only need to provide an email address in order to
get an account with the bug tracker.


Regards,


   Luis


--------------------
Carmen Olmos wrote:

> Hi,
>  
> Any clues for MutualInformation metric? O:)
>  
> 
> 
> */Luis Ibanez <luis.ibanez at kitware.com>/* wrote:
> 
> 
>     Hi Carmen,
> 
>     Masking capabilities are implemented in the
>     MeanSquaresImageToImageMetric. You can define
>     a SpatialObject as mask for the fixed image
>     an another SpatialObject as mask for the moving
>     image. Only pixels inside those masks will participate
>     in the evaluation of the metric.
> 
>     Look at the methods
> 
>     - SetMovingImageMask()
>     - SetFixedImageMask()
> 
>     in the base class ImageToImageMetric
> 
>     http://www.itk.org/Insight/Doxygen/html/classitk_1_1ImageToImageMetric.html
> 
> 
>     This code has not been heavily tested...
>     so keep your eyes wide open :-)
> 
>     Please let us know if you find any issues.
> 
> 
>     Thanks
> 
> 
>     Luis
> 
> 
>     ------------------------
> 
>     Carmen Olmos wrote:
> 
>      > Hi,
>      >
>      > Any news concerning masking capabilities in ImageMetrics?
>      >
>      > Regards,
>      > Carmen
>      >
> 
> 
> ------------------------------------------------------------------------
> 
> <http://es.rd.yahoo.com/mail_es/tagline/mail_man/*http://es.docs.yahoo.com/benefits/>
> *    Antivirus • Filtros antispam • 6 MB gratis*
> *    ¿Todavía no tienes un correo inteligente?* 
> <http://es.rd.yahoo.com/mail_es/tagline/mail_man/*http://es.docs.yahoo.com/benefits/>
>