[Insight-developers] BMPImageIO
Marius Staring
marius at isi.uu.nl
Fri Jun 2 11:01:48 EDT 2006
Hi Julien,
I have done so. The bug number is #3314.
Marius
Julien Jomier wrote:
> Hi Marius,
>
> It's on my todo list. Can you log a bug and assign it to me?
>
> Julien
>
> Marius Staring wrote:
>> Did anyone checked this?
>>
>> Marius
>>
>> Marius Staring wrote:
>>> Hi all,
>>>
>>> I have a BMP color image that is not read in well in the BMPImageIO.
>>> The GetNumberOfComponents() returns 1, and it should be 3, since the
>>> image has r,g, and b components. I tracked the problem down to the
>>> ReadImageInformation()-function, where the m_Depth parameter is set
>>> to 8, which in turn defines the NumberOfComponents to be 1. There is
>>> also a boolean m_Allow8BitBMP involved, but that is allways true, it
>>> is never changed.
>>>
>>> I have made the problematic bmp file available for download at:
>>>
>>> http://www.isi.uu.nl/People/Marius/images/lena_c.bmp
>>>
>>> Regards,
>>>
>>
>
>
--
Marius Staring
Image Sciences Institute
University Medical Centre Utrecht
Heidelberglaan 100, 3584 CX Utrecht, The Netherlands
phone: +31 (0)30 250 3186, fax: +31 (0)30 251 3399
marius at isi.uu.nl, http://www.isi.uu.nl/People/Marius
More information about the Insight-developers
mailing list