[vtkusers] Code for graphics file read/modify/write. Warp. Images to 3-d.
Robert Caldwell
rcaldwell1 at unl.edu
Fri Jul 25 11:52:35 EDT 2003
Dear Group,
I was using PAINTLIB for manipulating bitmap graphic files (and the
2-d data they represent) alongside VTK, but decided to remove PAINTLIB and
use VTK throughout. I'm not yet up to speed on the details of VTK's classes
so I would appreciate your sending me (mailto:rcaldwell1 at unl.edu) code
examples for how to:
-- Read standard graphics files: PNG, JPEG, TIFF, BMP
(vtkImageReader2Factory?).
-- Get the array of pixel information, for analysis and
modification (vtkImageCanvasSource2DPixel?).
-- Place the modified pixel information back into the object.
-- Write the updated information in a user-selected graphics file
format.
I also need to become familiar with classes and functions for warping
images, e.g., calibrating and removing camera lens distortion (vtkCamera?
vtkWarpLens? vtkGridTransform?), and I would like to evaluate methods for
extracting 3-d representations from a series of pictures taken from
different view directions (??). Code for these things -- especially in C++
-- would be very helpful.
Sincerely,
Bob Caldwell,
University of Nebraska - Lincoln
306 Keim Hall, P.O. Box 830910, Lincoln, NE 68583-0910
RCALDWELL1 at UNL.EDU Phone: (402) 472-4792. FAX: (402) 472-7904.
http://cropmodelingworkshop.unl.edu/
More information about the vtkusers
mailing list