[Insight-users] JPEG2000 in WrapITK

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon May 7 05:34:53 EDT 2007


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


More information about the Insight-users mailing list