comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: same value, same color, different pictures
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: same value, same color, different pictures [message #66734] Thu, 11 June 2009 10:51 Go to previous message
Hu is currently offline  Hu
Messages: 35
Registered: January 2009
Member
On Jun 11, 12:52 pm, David Fanning <n...@dfanning.com> wrote:
> Hu writes:
>> I want to got 'same value, same color' in different pictures so that I
>> could make a comparison between the pictures.
>
>> for example, I get two pictures of a same location (picture A and B).
>> the valid range for A and B are [m,n]. now I want to display A and B
>> using same legend. if the values in A and B are same, the got the same
>> color in the pictures.
>
>> How can I do this in IDL?
>
>    minA = Min(A, MAX=maxA)
>    minB = Min(B, MAX=maxB)
>    TV, BytScl(A, MIN=minA < minB, MAX=maxA > maxB)
>    TV, BytScl(B, MIN=minA < minB, MAX=maxA > maxB)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks, David.
[Message index]
 
Read Message
Read Message
Previous Topic: same value, same color, different pictures
Next Topic: Re: huge image file.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:35:14 PDT 2025

Total time taken to generate the page: 0.00433 seconds