[vtkusers] How to read single frme DICOM file

Ali Habib ali.mahmoud.habib at gmail.com
Wed Oct 6 10:36:28 EDT 2010


I use c# but u can give mme examples

best regards and thaks for your help

On Wed, Oct 6, 2010 at 4:28 PM, Jothy <jothybasu at gmail.com> wrote:

> To the best of my knowledge all the dicom files contains headers.
>
> When you say vtkGDCMDicom*Image*Reader->GetOutput() it will give you only
> image data.
> Whcih language are you using , I can send you some examples if its in
> python/c++.
>
> have a look at
> http://www.cmake.org/Wiki/VTK/Examples/Cxx#Working_with_3D_Data<http://www.cmake.org/Wiki/VTK_Examples>
>
> Jothy
>
>
>
> On Wed, Oct 6, 2010 at 3:23 PM, Ali Habib <ali.mahmoud.habib at gmail.com>wrote:
>
>>
>> but if the DICOM contains header it will display it , I need the
>> anatomical data itself
>>
>> Best regards
>>
>>
>> On Wed, Oct 6, 2010 at 4:18 PM, Jothy <jothybasu at gmail.com> wrote:
>>
>>> From vtkGDCMImageReader->GetOutput() you get the data as vtkImageData and
>>> use vtkImageViewer2 to display it.
>>>
>>> Have a look at the examples at vtk wiki!
>>>
>>> Jothy
>>>
>>>
>>> On Wed, Oct 6, 2010 at 3:15 PM, Ali Habib <ali.mahmoud.habib at gmail.com>wrote:
>>>
>>>> thanks a lot,
>>>>
>>>> how to use vtk to only display the image data without the header
>>>>
>>>> Best regards
>>>>
>>>> do u know how to use
>>>>
>>>>
>>>> On Wed, Oct 6, 2010 at 4:13 PM, Jothy <jothybasu at gmail.com> wrote:
>>>>
>>>>> Use vtkGDCMDicomImageReader. But I am having problems with getting the
>>>>> dosegridscaling factor from this reader.
>>>>>
>>>>> Jothy
>>>>>
>>>>> On Wed, Oct 6, 2010 at 3:09 PM, Ali Habib <ali.mahmoud.habib at gmail.com
>>>>> > wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I used vtkdicom reader to read series of DICOM , but when try to read
>>>>>> one single frame DICOM it give error: cannot read file
>>>>>>
>>>>>> I use setfilename  property
>>>>>>
>>>>>>
>>>>>> any suggestion please
>>>>>>
>>>>>> _______________________________________________
>>>>>> Powered by www.kitware.com
>>>>>>
>>>>>> Visit other Kitware open-source projects at
>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>
>>>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Research Scholar
>>>>> Dept. of Medical Physics
>>>>> Clatterbridge Centre for Oncology
>>>>> UK
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Research Scholar
>>> Dept. of Medical Physics
>>> Clatterbridge Centre for Oncology
>>> UK
>>>
>>>
>>
>
>
> --
> Research Scholar
> Dept. of Medical Physics
> Clatterbridge Centre for Oncology
> UK
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101006/c9dfd2f9/attachment.htm>


More information about the vtkusers mailing list