Hi Christoph,
You was right, that was the problem, and I can see the visualizations that I want.
See the attached image with results.
Thanks, Jaime
On Tuesday, March 22, 2016 at 9:19:17 AM UTC-4, Jaime Lopez Carvajal wrote:
Hi Christoph,
Thanks for your suggestion, I will try that, and will tell you if it works.
Jaime
On Monday, March 21, 2016 at 10:35:21 PM UTC-4, Christoph Gohlke wrote:
I think the issue might be that the bands contain uint8 data stored as
uint16 (one extra bit seems used for GDAL's nodata) and the display
function `show_img` does not handle this. In this case casting the RGB
array to uint8 before display might work: show_img(img11a.astype('uint8'))
Christoph
On 3/21/2016 5:17 PM, Stéfan van der Walt wrote:
> Hi Jaime
>
> These are the layers coming out of the TIFF reader:
>
> https://gist.github.com/6881c3527b3099c49891
>
> Can you recognize which ones are which? Do they look correct? Maybe
> you can compare them against the ones you see in ArcMap.
>
> Thanks!
> Stéfan
>
> On 21 March 2016 at 16:36, Jaime Lopez Carvajal <jalo...@gmail.com> wrote:
>> Hi Stefan,
>>
>> Sure, I attached a small fraction of original image, because Remote Sensing
>> images are very big.
>> The TIFF image has 4 bands.
>>
>> Hope this helps, Jaime
>>
>> On Monday, March 21, 2016 at 7:23:53 PM UTC-4, stefanv wrote:
>>>
>>> Hi Jaime
>>>
>>> On 21 March 2016 at 16:02, Jaime Lopez Carvajal <jalo...@gmail.com> wrote:
>>>> Of course, I would like to visualize the image like this (attached
>>>> image),
>>>> that was obtained using ArcMap software, with the usual band order for
>>>> True
>>>> Color (RGB) and Composite Infrared (CIR) in remote sensing applications.
>>>> The tiff image that I loaded has 4 bands, so I would think that the
>>>> order
>>>> would be: band0(Red), band1(Green), band2(Blue), band3(Infrarred),
>>>> so if I want to visualize the true color image, I would need to use this
>>>> instruction:
>>>> TrueColor_img = img11[:,:,(0,1,2)]
>>>
>>> I'll take a look. Can you please upload an example tiff?
>>>
>>> Thanks
>>> Stéfan
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "scikit-image" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to scikit-image...@googlegroups.com.
>> To post to this group, send email to scikit...@googlegroups.com.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/scikit-image/eb050d76-64f7-4f24-a67f-aa2a4795d1c5%40googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>