Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.idl-pvwave

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-07-2012, 05:52 PM
Bandrush Barda
Guest
 
Posts: n/a
Default Extraction phenological events

Dear all?
I’m doing phenological study using threshold method in IDL. I have 36
images with 10 days time interval in 2005
(ENVI format). They all have been stacked. I know how to set threshold
value on a single image. But I don’t know how to set threshold value
on multiband image to determine the date when grown season start and
end. Start of season is determined a day when NDVI value is return to
threshold value in a given year. So what I’d like to ask:
1. How can I set threshold value on multiband image to determine the
date when grown season start and end.
2. What kind of procedure and function should I use to extract start
and end of season using threshold method on multiband image? The dates
when start/end of season occurs are different in every vegetation
types. Basically I want to extract one image showing different places
are different phenological date. Is there anyone who can help me for
this?
Thanks a lot
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 06-08-2012, 09:11 AM
Allard de Wit
Guest
 
Posts: n/a
Default Re: Extraction phenological events

Dear Bandrush Barda,

To my knowledge, there is no way to do this from the standard ENVI interface. The point is that you are not interested in the values themselves, but rather the point in time where they are occurring. This can be extracted easily by programming a script in IDL, but not from the ENVI interface. Have alook at my implementation of HANTS (Harmonic Analysis of NDVI Time Series)as an example of how to process time-series in IDL/ENVI. You can find HANTS in the code library, just search with the keyword HANTS and it will be your first hit.

with best regards,

Allard de Wit
Reply With Quote
  #3 (permalink)  
Old 08-16-2012, 12:37 PM
davidfredlee@gmail.com
Guest
 
Posts: n/a
Default Re: Extraction phenological events

HI Allard,

I was just wondering if you could maybe offer some tips on how to use the HANTS algorithm in ENVI IDL 4.7? I'm new to IDL and it all seems to be quiteoverwhelming. I'm attempting to use HANTS to denoise the NDVIs of 16-Day L3 Global 250 m datasets (short name MOD13Q1) but don't understand how to implement the *.pro files included in the HANTS zip file. Is this even suitable/possible?

I would be very grateful for any help you can offer,

David Lee
Reply With Quote
  #4 (permalink)  
Old 08-16-2012, 03:04 PM
CR
Guest
 
Posts: n/a
Default Re: Extraction phenological events

Am Donnerstag, 7. Juni 2012 19:52:38 UTC+2 schrieb Bandrush Barda:
> Dear all?
>
> I’m doing phenological study using threshold method in IDL. I have 36
>
> images with 10 days time interval in 2005
>
> (ENVI format). They all have been stacked. I know how to set threshold
>
> value on a single image. But I don’t know how to set threshold value
>
> on multiband image to determine the date when grown season start and
>
> end. Start of season is determined a day when NDVI value is return to
>
> threshold value in a given year. So what I’d like to ask:
>
> 1. How can I set threshold value on multiband image to determine the
>
> date when grown season start and end.
>
> 2. What kind of procedure and function should I use to extract start
>
> and end of season using threshold method on multiband image? The dates
>
> when start/end of season occurs are different in every vegetation
>
> types. Basically I want to extract one image showing different places
>
> are different phenological date. Is there anyone who can help me for
>
> this?
>
> Thanks a lot


Hi,
as far as I understood you have a stack of NDVI images. If then I would transfer them to IDL by the export function in the ENVI file menu. then I would apply this:

;stack is the name of the varaible you have used for export
sz=size(stack,/dim)
threshold=0.3; you must set this
stack ge= threshold
wh=where(~stack,c)
if c gt 0 then stack[wh]=!values.f_nan
stack*=rebin(lindgen(1,1,sz[2]),sz)
startperiod=min(stack,max=endperiod,/nan,dimension=3)


startperiod and endperiod are then two matrices of your spatial extent containing the frame number per pixel when the period hast started and ended due to the selected threshold. All elements of the matrices having NAN didn'tpass the selected threshold.

Cheers

CR


Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 08:40 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.