[vtkusers] Image correlation

David Doria daviddoria+vtk at gmail.com
Sun Feb 7 11:10:34 EST 2010


I am trying to adapt the tcl vtkImageCorrelate test into an example. The
documentation says that the output of vtkImageCorrelate will be double
values (I am expecting between -1 and 1 (or 0 and 1)?). To view an image of
the correlation values, I turn these double values into an unsigned char
image (I used vtkImageMathematics to multiply by 255).

The complete example is here:
http://www.vtk.org/Wiki/VTK/Examples/Images/ImageCorrelation

The problem is that the output (correlation.jpg) is blank. Anyone see any
reason why this would be the case?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100207/c5aa899f/attachment.htm>


More information about the vtkusers mailing list