Hi,

IIRC, MITK has its own internal PARREC reader that doesn't support PARREC
v4.2. I think the reason for this is historical since ITK 3 support for
PAR/REC was limited (located in Review). Make sure to disable this reader
before writing your own or the two will conflict.

HTH,
-F


On Fri, Jan 10, 2014 at 10:16 AM, Marco Nolden
<[email protected]>wrote:

> Hi Dieter,
>
> you probably do not even have to code much. In general, all ITK readers
> are directly available in MITK through ITK's ImageIO. However, the
> par/rec reader is not enabled by default in the ITK build.
>
>
> If you look at your MITK superbuild directory, please look at the
> "ITK-build" directory. You can run the CMake GUI there and change ITK's
> build options. The defaults for building ITK are specified in the MITK
> source at CMakeExternals/ITK.cmake
>
> Another caveat is the handling of file extensions in the workbench. At
> the moment the list of supported extensions is kind of hard-coded (we
> are working on that!), so it is possible that your files won't show up
> in the File Open dialog. However you could still drag and drop them in
> the workbench.
>
> Please let us know if it works! We could then extend the defaults for
> our ITK build.
>
> Best,
>
> Marco
>
>
> On 01/10/2014 03:36 PM, Goch, Caspar Jonas wrote:
> > Hi Dieter,
> >
> > you do not have to change the core to add additional readers to MITK
> (though if you want to contribute your reader once it is done, we will be
> grateful). If you want to take a general look at how readers in MITK work
> you can take a look at the core though [1]. As an example of a Module
> implementing its own data type, factories, readers and writers you can take
> a look at e.g. the DiffusionCore module[2]. You can choose a similar setup
> and add the readers to your own module in the awesome project.
> >
> > You will need to add at least the reader and a corresponding factory to
> your module.
> >
> > Best
> > Caspar
> >
> > [1]
> http://mitk.org/git/?p=MITK.git;a=tree;f=Core/Code/IO;h=c413d0d3291c7caf77e71325fb117738a881eb82;hb=HEAD
> > [2]
> http://mitk.org/git/?p=MITK.git;a=tree;f=Modules/DiffusionImaging/DiffusionCore/IODataStructures;h=20b9fcf67f138f3cb5700ec68ab546e06e13ce21;hb=HEAD
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Dieter Menne [mailto:[email protected]]
> > Gesendet: Donnerstag, 9. Januar 2014 17:37
> > An: [email protected]
> > Betreff: [mitk-users] Add Philips par/rec import to workbench
> >
> > Hi,
> >
> > My background: I have used ITK and VTK before, but I am new to MITK and
> a bit overwhelmed by it. Setup and building of Awesomeproject works ok.
> >
> > As a first exercise, I am trying to add Philips par/rec to the formats
> that can be read from the project generated from
> https://github.com/MITK/MITK-ProjectTemplate.
> >
> > The source is from ITK are in ITK-src/Modules/IO/PhilipsRec. If I
> understand the architecture drawing correctly, Import is part of the core
> module. Does this mean that I have to change the core module to use this
> import filter?
> >
> > Lost in MITK-space. Any hints where to look for a starter are
> appreciated.
> >
> > Dieter Menne
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical
> Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > _______________________________________________
> > mitk-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mitk-users
> >
> >
> ------------------------------------------------------------------------------
> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > Critical Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > _______________________________________________
> > mitk-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mitk-users
> >
>
>
> --
> ----------------------------------------------------------------------
> Dipl.-Inform. Med. Marco Nolden
> Deutsches Krebsforschungszentrum       (German Cancer Research Center)
> Div. Medical & Biological Informatics          Tel: (+49) 6221-42 2325
> Im Neuenheimer Feld 280                        Fax: (+49) 6221-42 2345
> D-69120 Heidelberg                             eMail: [email protected]
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>



-- 
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to