[Insight-users] normalized mutual information histogram image to
image metric
Grace Chen
Grace.Chen at swri.ca
Tue Jun 20 14:54:40 EDT 2006
Hi there,
I try to use this metric, and I try to follow the example code by setting the histogram Size like this:
-----------------------------------------------------------------------------
unsigned int nBins = 50;
MetricType::HistogramType::SizeType histSize;
histSize[0] = nBins;
histSize[1] = nBins;
histSize[2] = nBins;
metric->SetHistogramSize(histSize);
-----------------------------------------------------------------------------
No matter what number I try...at the run time, I always get this error message:
"Stack around the variable 'hisSize' was corrupted"
Does anyone have any idea what that means? How should we set the metric then??
Thanx!!
Grace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060620/32b6323b/attachment.htm
More information about the Insight-users
mailing list