[Insight-users] JPEG2000 in WrapITK
Alex Lisovich
alex.lisovich at gmail.com
Mon May 7 16:53:55 EDT 2007
Hi Mathew,
We've found the quick solution by using the Aperio ImageScope viewer
and exporting the image into the uncompressed TIFF, but we are very
interested in reading such files from inside the ITK. We (Brian and
me) would be happy to help in development of such functiionality. As I
understand from briefly digging into the C++ code, the TIFF reader
just cannot find the necessary codec. Are there standard rules for
creating and registering the codec in ITK? It would be great if you
provide the general guidelines on how to implement it, just for
starters.
Alex Lisovich
On 5/7/07, Mathieu Malaterre <mathieu.malaterre at gmail.com> wrote:
> Unfortunately ITK does not support J2K out of the box. It would be
> relatively easy to write a reader for those kind of files since ITK is
> shipped with openjpeg (j2k lib).
>
> Would you like to help develop and test such class, or are you looing
> for a quick solution ?
>
> -Mathieu
>
> On 5/4/07, Brian Chapman <chapmanbe at upmc.edu> wrote:
> > I have some digitized pathology slides that are stored in a tiled format
> > with JPEG2000 compression. I'm just trying to get familiar with them, and am
> > trying to read them into a python shell via WrapITK. However, I always get a
> > Compression scheme error. Here is an example:
> >
> > In [14]: reader = itk.ImageFileReader.IRGBUC2.New(FileName='./xaad.tif')
> >
> > In [15]: img = reader.GetOutput()
> >
> > In [16]: img.Update()
> > ./xaad.tif: Compression scheme 33003 tile decoding is not implemented.
> >
> > Is the problem that ITK does not recognize/handle 1) the JPEG2000
> > compression and/or 2) tiling?
> >
> > Any help would be appreciated.
> >
> > Thanks,
> >
> > Brian
> >
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
> --
> Mathieu
> Tel: +33 6 32 13 33 40
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list