[vtkusers] vtkDICOMImageReader and an extrange error,..

Miguel Angel Rodriguez Florido marf at itccanarias.org
Fri Mar 13 12:01:13 EDT 2009


	Hi all,

	Sorry in advance, because perhaps this is an stupid question but right 
now I don't know what is happening.

	I have a .dcm file. I would like to read the data using the 
vtkDICOMImageReader that I have done before, but when I execute this 
simple pipeline under Tcl:

vtkDICOMImageReader v16
   puts [v16 GetPatientName]
   v16 SetFileName "./models/RX/ser7008img00001.dcm"
   v16 Update

I got this error (even if I add explicitly the data extent, type of 
data, spacing, etc):

ERROR: In 
/home/marf/software/Slicer3/vtk5src/IO/vtkDICOMImageReader.cxx, line 284
vtkDICOMImageReader (0x8178870): No memory allocated for image data!

I'm using vtk5.1 and I have used this version of VTK to read another 
dicom files. I can open this file with Slicer or any other application, 
but I don't know what is happening with my simple example.

Does anybody know where I'm wrong?.

Thank you very much and best regards.

-- 
Miguel Angel Rodríguez Florido
Departamento de Ingeniería del Software
División de Investigación y Desarrollo Tecnológico
INSTITUTO TECNOLOGICO DE CANARIAS, S.A. - GOBIERNO DE CANARIAS
URL: www.itccanarias.org Tlfno: +34 928 727548, Fax: +34 928 727517

--------------------------------------------------------------------------
AVISO LEGAL:
Este mensaje y los ficheros adjuntos si los hubiere, se dirigen 
exclusivamente a su destinatario y puede contener información 
privilegiada o confidencial. La transmisión errónea del presente mensaje 
en ningún momento supone renuncia a su confidencialidad. Si no es vd. el 
destinatario indicado, queda notificado de que la utilización, 
divulgación y/o copia sin autorización está prohibida en virtud de la 
legislación vigente. Si ha recibido este mensaje por error, le rogamos 
que nos lo comunique inmediatamente por esta misma vía y proceda a su 
destrucción.

LEGAL WARNING:
This message and the files attached if there were any, are intended 
exclusively for its addressee and may contain information that is 
CONFIDENTIAL and protected by professional privilege. A wrong 
transmission to this message don't suppose we relinquished to It's 
confidential. If you are not the intended recipient you are hereby 
notified that any dissemination, copy or disclosure of this 
communication is strictly prohibited by law. If this message has been 
received in error, please immediately notify us via e-mail and delete it.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3262 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090313/74d0b96f/attachment.bin>


More information about the vtkusers mailing list