[Insight-users] a question about using NormalizedMutualInformationHistogramImageToImageMetric for 3d registration

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 4 10:12:35 EDT 2006


Hi YuanJie,

The class

NormalizedMutualInformationHistogramImageToImageMetric
http://www.itk.org/Insight/Doxygen/html/classitk_1_1NormalizedMutualInformationHistogramImageToImageMetric.html

derives from the base class

HistogramImageToImageMetric
http://www.itk.org/Insight/Doxygen/html/classitk_1_1HistogramImageToImageMetric.html


The methods that you use for customizing the Histogram in this metric
are the following:

SetLowerBound(const MeasurementVectorType &bound)
http://www.itk.org/Insight/Doxygen/html/classitk_1_1HistogramImageToImageMetric.html#itk_1_1NormalizedMutualInformationHistogramImageToImageMetrica16

SetUpperBound(const MeasurementVectorType &bound)
http://www.itk.org/Insight/Doxygen/html/classitk_1_1HistogramImageToImageMetric.html#itk_1_1NormalizedMutualInformationHistogramImageToImageMetrica17


and
SetHistogramSize()
http://www.itk.org/Insight/Doxygen/html/classitk_1_1HistogramImageToImageMetric.html#itk_1_1NormalizedMutualInformationHistogramImageToImageMetrica2


The number of samples concept is not needed in this implementation of 
metric because it doesn performs subsampling on the images, it actually
uses all available pixels.


    Regards,


      Luis



-------------------
YuanJie Liu wrote:
> Hi,all.
> Currently, I want to 3d registration with 
> NormalizedMutualinformationhistogramimagetoimagemetric.
>  
> But I don't know how to use this metric.
> For example, in other mutual information metric, these 2 lines are needed:
>  
>  metric->SetNumberOfHistogramBins( numberOfBins );
>  metric->SetNumberOfSpatialSamples( numberOfSamples );
>  
> But in NormalizedMutualInformation metric, no such methods exist.
>  
> So I wonder how to set the parameter of this metric so as to do 
> registration correctly?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list