[Insight-users] lsm reader fails for 2 channels ?
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Sep 19 09:25:56 EDT 2007
Hi,
The problem is known for some time :-)
http://insight-journal.org/InsightJournalManager/view_reviews.php?
back=search.php%3Ftexte%3Dlsm&journalid=3&pubid=56
Mathieu, do you think you can complete the implementation of the lsm
reader in the near future?
Thanks,
Gaëtan
Le 19 sept. 07 à 02:20, Alex. GOUAILLARD a écrit :
> hi all,
>
> I tried the itkLSMImageIO filter on a two channels image (http://
> www.creatis.insa-lyon.fr/~agouaillard/LSMReaderTest/) and it
> failed. The image is a 512*680, with two 12 bits channels.
>
> No test is provided on the toolkit for an lsm file with two
> channels. I used the exisitng test (Testing/Code/IO/
> itkLSMImageIOTest.cxx) and modified the pixeltype to be:
>
> typedef itk::Vector< float, 2 > InputPixelType;
>
> and had the following error message:
> "Sorry, can not handle RGB image with color channels=2."
> which comes from the itktiff lib (tif_getimage.c:138), and
> "Cannot read TIFF image or as TIFF RGBA image" which comes from
> itkTiffImageIO.cxx:1069.
>
> Am I doing something wrong with the image type, or shall I fill a
> bug report?
>
> alex
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070919/1a7029b2/PGP.pgp
More information about the Insight-users
mailing list