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).<div>
<br></div><div><div>The complete example is here:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Images/ImageCorrelation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Images/ImageCorrelation</a></div><div>
<br></div><div>The problem is that the output (correlation.jpg) is blank. Anyone see any reason why this would be the case?</div><div><br></div><div>Thanks,<br><br>David<br>

</div></div>