Hi-<div><br></div><div>I am reading in an image stream in unsigned char vector format from a camera in real-time. I have some code setup to display the image using VTK/ITK, but the latencies are high. Is there a method to directly convert this vector to a VTK image? I am currently looping through and setting the image pixels in an ITK image using the following example:</div>
<div><a href="http://www.vtk.org/Wiki/ITK/Examples/SimpleOperations/SetPixels">http://www.vtk.org/Wiki/ITK/Examples/SimpleOperations/SetPixels</a></div><div><br></div><div>I then connect the pipeline using itk::ImageToVTKImageFilter and display the image. I recognize this is an inefficient way of doing things, but came up blank in looking for an optimized function to do it for me. Thanks in advance-</div>
<div><br></div><div>-Ryan</div>