[Insight-users] Tcl scripts for ImageHistogram

Luis Ibanez luis.ibanez at kitware.com
Thu Aug 19 20:13:02 EDT 2004


Hi Satish,

Do you really need to do this in Tcl  ?


There is a  C++  example in


     Insight/Examples/Statistics/
              ImageMutualInformation1.cxx


That computes the joint histogram of two images.

You could run this program using as input the
Fixed and Moving images before registration
(assuming that both have the same number of
pixels along each dimension).

Then run the same program by using as input
the Fixed image and the resampled Moving image
resulting from the registration process.

If you really want Tcl,.. you could translate
from this C++ example.



   Regards,


      Luis




-----------------
satish pal wrote:

> Hi,
> 
>   I have two 3D MRI datasets. I performed registration
> using ITK's Multiresolution mutual information.
> 
> I want to make histogram maps before and after
> registration (as the one that is available in SPM).
> Can anyone suggest whether this is possible in ITK
> using Tcl scripts?
> 
> Thanks in advance.
> Satish Pallapotu
> 
> 
> 	
> 		






More information about the Insight-users mailing list