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

Home » Public Forums » archive » Re: pixelwise regression for time series images
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: pixelwise regression for time series images [message #70895 is a reply to message #70894] Thu, 13 May 2010 02:57 Go to previous message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
blofton wrote:
> I’ve written a program that uses LINFIT to calculate a linear model to
> each pixel in a multitemporal, registered series of images. That is,
> I fit a line in the time (z-) dimension at each x,y pixel location.
> However, I am using nested loops to do this and it takes a while to
> run. For larger images (1024X1024) there is no hope. I am wondering
> if you’ve come across a better (IDL-esque) method of doing this; I’ve
> not seen anything online.
>
> Thanks for any suggestions,
>
> brad
One can do that without loops. Just write down the regression equations, keeping
in mind that the summation has to be done for the 3rd dimension. Actually this
is what I like about IDL, you can think of bigger entities than just a single
value. I attached a function which works for me.

Regards,
Bringfried
  • Attachment: lincfit.pro
    (Size: 1.34KB, Downloaded 125 times)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Formatting WRITE_CSV output
Next Topic: Help on EDGE_DOG

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

Current Time: Wed Apr 29 14:04:25 PDT 2026

Total time taken to generate the page: 2.23341 seconds