[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Congrid problem



No apparent bug on Alpha...

IDL> print, !version
{ alpha OSF unix 5.4 Sep 25 2000      64   64}
IDL> a = bytarr(100,100) + 155b
IDL> b = congrid(a,140,140,/interp)
IDL> print, min(b), max(b)
 155 155
IDL> w = where(b eq 154, count)
IDL> print,count
           0




> Here's an example that show's the problem:
>
> IDL> a = bytarr(100,100) + 155b
> IDL> b = congrid(a,140,140,/interp)
> IDL> print, min(b), max(b)
>  154 155
> IDL> w = where(b eq 154, count)
> IDL> print,count
>         3703
> IDL> tvscl, b eq 154   ;shows strange pattern of lines and dots
>