[ITK] Bruker Format

Dženan Zukić dzenanz at gmail.com
Fri Jan 13 11:06:32 EST 2017


Hi Tobias,

files itkBruker2DSEQImageIO.cxx, itkBruker2DSEQImageIO.h,
itkBruker2DSEQImageIOFactory.cxx and
itkBruker2DSEQImageIOFactory.h implement the IO for that format. Taking
those four files out of that module should be enough.

To make them available to itk::ImageFileReader and writer you need to add
those 4 files to and have a line like this:
itk::ObjectFactoryBase::RegisterFactory(
itk::Bruker2DSEQImageIOFactory::New() );
somewhere in the beginning of your program (definitely before using I/O).

Regards,
Dženan

On Thu, Jan 12, 2017 at 6:15 AM, Wood, Tobias <tobias.wood at kcl.ac.uk> wrote:

> Hello,
>
> We recently acquired a new Bruker pre-clinical imaging system. I noticed
> that ITK appears to have support for the 2dseq format, in this review
> module: http://www.insight-journal.org/browse/publication/237
>
> However, the Bruker format is not listed among the registered formats when
> I try to open a file using one of my ITK programs. I build ITK with
> Module_ITKReview enabled as I use one of the other review modules. Is there
> another option I have to enable in cmake? Am I missing something else?
>
> If I manage to get it working, what would the process be for separating
> the Bruker IO out from that review module and making it a standalone module
> similar to Philips REC?
>
> Thanks,
> Toby
>
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170113/fd09e871/attachment.html>


More information about the Community mailing list