Hi Alberto,
sorry for the late answer I was trying to arrange a I nice piece of code
to show what I was doing and I finally manage to do it :).
This is what I wrote :
mitk::Image::Pointer image = NULL;
mitk::StringList files = mitk::StringList();
files.push_back("E:/Dropbox/ProgettiLavoroSUPSI/cardio/test_dicom.dcm");
UpdateCallBackMethod callback = false;
mitk::Image::Pointer preLoadedImageBlock;
mitk::DicomSeriesReader r = mitk::DicomSeriesReader();
mitk::DataNode::Pointer node = r.LoadDicomSeries(files, true, true,
false, callback, preLoadedImageBlock);
With this I get the image data in to the node and I can also show it
using a RenderWindow. I have some question :
1. Is this code right? Does someone have some advice to make it better?
2. I don't really understand what are the parameter "callback" and
"preLoadedImageBlock" of the "LoadDicomSeries" method for. Can anyone
exmplain me?
3. My image contains 9 different time steps how can I switch from one to
another or have 9 different DataNode one for each time step?
Thanks a lot for the help.
Cheers
Yari
Il 27.04.2015 15:29, Gomez, Alberto ha scritto:
> Hi Yari,
>
> if you can open it with the workbench then you should be able to open it
> with your application in the same way.
> I don't think I can help you there, but if you describe examctly how you
> are trying to open it with your app and how that is different to when
> you open it with the workbench then someone might be able to help.
>
> Alberto
>
>
> On 27/04/15 12:39, yari mattei wrote:
>> Hi Alberto,
>>
>> the DICOM is an ultrasound, but with the MITK workbench application I
>> can open it without any problem.
>>
>> I have to adapt a reader anyway or I have a chance to use the same of
>> the workbench? There is a clear example (such as the step1 in the
>> tutorial) about the use of the DICOM reader?
>>
>> Thanks
>>
>> Yari
>>
>> Il 24.04.2015 14:27, Gomez, Alberto ha scritto:
>>> Hi Yari,
>>>
>>> What kind of images are these? If it is ultrasound, it will mostl likely
>>> not work because Philips US (as well as other big brands) use
>>> proprietary DICOMs.
>>> If it is a exported DICOM then it is "closed" but you might have to
>>> adapt another reader to it.
>>>
>>>
>>> Alberto
>>>
>>> On 24/04/15 09:08, yari mattei wrote:
>>>> Hi,
>>>>
>>>> I am trying to implement a simple DICOM viewr with MITK, but I have a
>>>> problem.
>>>>
>>>> I have a dcm file that is a Philips3D and I have found that there is a
>>>> special case for this in the class DicomSeriesReader, but I cannot
>>>> manage to use it.
>>>>
>>>> I tried to find out some example but I could not find anything. Does
>>>> anyone have some suggestions?
>>>>
>>>> Thanks
>>>>
>>>> Yari
>>>>
>>>> ------------------------------------------------------------------------------
>>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>>> Widest out-of-the-box monitoring support with 50+ applications
>>>> Performance metrics, stats and reports that give you Actionable Insights
>>>> Deep dive visibility with transaction tracing using APM Insight.
>>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>> _______________________________________________
>>>> mitk-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> mitk-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users