[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Congrid problem
- Subject: Re: Congrid problem
- From: "Jeff Kolthammer" <shroom79(at)hotmail.com>
- Date: Mon, 26 Feb 2001 18:53:21 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Verio
- References: <3A95F3D8.6DB90E56@cornell.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23674
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
>