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

Home » Public Forums » archive » Image thresholding
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: Image thresholding [message #15555 is a reply to message #15382] Fri, 21 May 1999 00:00 Go to previous message
REV is currently offline  REV
Messages: 1
Registered: May 1999
Junior Member
DL> c=[0,1,2,3,4,5,6,7,8,9]
IDL> b=c
IDL> c(where(c ge 5 and c le 10)) = 0
IDL> print,c
0 1 2 3 4 0 0 0 0
0


David Brennan <9147261b@clinmed.gla.ac.uk> wrote in article
<3740387C.72B259F7@clinmed.gla.ac.uk>...
> Does anyone know of a fast routine or function for searching through a
> 3D data set and setting numbers within a predetermined range of values
> to zero. i.e,
>
> the range is 5 - 10
>
> A data set contains [0,1,2,3,4,5,6,7,8,9]. It becomes
> [0,1,2,3,4,0,0,0,0,0]
>
> This would save me a lot of time.
>
>
> Thanks
>
> Dave Brennan
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL(rsi) + FORTRAN(digital) + DLL(windows nt)
Next Topic: behavior of arrays

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

Current Time: Sat Oct 11 02:32:13 PDT 2025

Total time taken to generate the page: 0.80484 seconds