[Insight-users] Fast Image Conversion-
Ryan L. Smith
ryans09 at gmail.com
Tue Feb 8 16:52:23 EST 2011
Hi-
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:
http://www.vtk.org/Wiki/ITK/Examples/SimpleOperations/SetPixels
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-
-Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110208/0174a90b/attachment.htm>
More information about the Insight-users
mailing list