[vtkusers] imageread

Jyothilekshmi lekshmijyothi at cdactvm.in
Wed Jun 8 02:05:42 EDT 2011


Hai everyone,

    When I read jpeg image in vtk it gave this error "unable to open
file".please help me .I given the code 

 

vtkJPEGReader *imagein=vtkJPEGReader::New();

  imagein->SetFilePrefix ("D:/Sristi/SRISTI/Images/CER-CT/CTBRAINIMAGES/New
folder"); // name of the files to read

  imagein->SetDataExtent(0,511, 0,511,0,25);//size of file

  imagein->Update();



______________________________________
Scanned and protected by Email scanner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110608/6fd48e0d/attachment.htm>


More information about the vtkusers mailing list