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

Home » Public Forums » archive » Re: quickly reassign numbers in large array?
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: quickly reassign numbers in large array? [message #50101] Wed, 13 September 2006 16:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
vlk.astro@gmail.com writes:

> There has to be a faster, if not cleverer, way to do this reassignment.
> Those multiple where()'s and the for-loop are fine for readability,
> but are a major drain on the cpu and user patience when you have large
> images and thousands of segments.

You're teasing us, right? All those discrete integers,
regularly spaced. What do YOU think the answer is going
to be? :-)

Cheers,

David

P.S. Here's some light reading for when you take a break
from all that deep thinking tonight:

http://www.dfanning.com/tips/histogram_tutorial.html

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Uploading DICOM data on PACS
Next Topic: looking for procedure call graph utilty

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

Current Time: Wed Oct 08 19:41:58 PDT 2025

Total time taken to generate the page: 0.00425 seconds