[Insight-developers] correction
Luis Ibanez
luis.ibanez at kitware.com
Mon, 19 Jan 2004 12:40:04 -0500
Hi Samson,
The implementation of the Kullback Leibler classes
has been updated from the web site you posted.
This closes Bug #520.
Please let us know if you find further problems,
Thanks
Luis
-----------------------
Samson Timoner wrote:
>
> When I submitted itkKLCompareHistogramImageToImageMetric, its name was
> changed to itkKullbackLieblerCompareHistogramImageToImageMetric. Alas,
> "Liebler" is a mis-spelling of "Leibler". I noticed this last week,
> and we should probably fix it before the next release. All the changes
> are in files that are attached. I submitted an experimental build
> from horus0.ai.mit.edu with the new files.
>
> The following files should be removed from CVS:
> Code/Algorithms/itkKullbackLieblerCompareHistogramImageToImageMetric.h
> Code/Algorithms/itkKullbackLieblerCompareHistogramImageToImageMetric.txx
> Testing/Code/Algorithms/itkKullbackLieblerCompareHistogramImageToImageMetricTes
> t.cxx
>
> The following files should be added to CVS:
> Code/Algorithms/itkKullbackLeiblerCompareHistogramImageToImageMetric.h
> Code/Algorithms/itkKullbackLeiblerCompareHistogramImageToImageMetric.txx
> Testing/Code/Algorithms/itkKullbackLeiblerCompareHistogramImageToImageMetricTes
> t.cxx
>
> The following files should be changed, and are attached:
> Testing/Code/Algorithms/CMakeLists.txt
> Testing/Code/Algorithms/itkAlgorithmsHeaderTest.cxx
> Testing/Code/Algorithms/itkAlgorithmsTests2.cxx
> Testing/Code/Algorithms/itkCompareHistogramImageToImageMetricTest.cxx
>
> Note that I also made the following changes:
> 1) I added some comments to itkKullbackLeiblerCompareHistogramImageToImageMetr
> ic.
> 2) While my implementation of the algorithm was OK, it in fact did not
> correspond exactly to the paper I referenced. I therefore changed
> the code to make it do so. This changed 2 lines of code in
> itkKullbackLeiblerCompareHistogramImageToImageMetric.txx
> 3) I changed itkKullbackLeiblerCompareHistogramImageToImageMetricTest.cxx
> so that it would have a minimum at the appropriate location using
> the changed algorithm.
>
> I'm sorry to have caused problems,
>
> -- Samson
>
> P.S. If you do not like attachments, I put all the files in:
> http://www.ai.mit.edu/people/samson/upload/itk/
>