[Insight-users] itkMutualInformationImageToImageMetric.txx

duboisda@tele.ucl.ac.be duboisda at tele . ucl . ac . be
Fri, 23 May 2003 17:55:00 +0200 (MEST)


 Hi Lydia,

     the test I did was on big images and the time used now is 120 seconds
for one iteration and 350 before.
It's possible to go yet faster (but it's more tricky) if you use
vnl_matrix of size (numberOfParameters,1) and in the second loop, you
place the new weights in this vector. You just have to multiply this
vector with a matrix containing all the samples in the second loop.
If you want my file...


        aloys