Page 1 of 1

Spectra in SeaDAS GUI

Posted: Sat Mar 05, 2022 10:00 am America/New_York
by avmehta
Hello,
I am using SeaDAS GUI for some analysis. I have collocated two images, resulting in two sets of band reflectance (for reference or master image and the other collocated with it. If I draw a box on a region, is it possible to get average spectra for this box?
Thank you for your help.
Amita

Re: Spectra in SeaDAS GUI

Posted: Mon Mar 07, 2022 2:26 pm America/New_York
by OB SeaDAS - knowles
When you draw a vector box layer on a SeaDAS loaded image it creates an associated mask. This mask by default will be called "geometry".

To do statistics on this "geometry" region of interest, use the Statistic Tool (Menu > Analysis > Statistics)

Check the "Use ROI Mask" checkbox and check it's "geometry" checkbox. Then click the "Refresh View" button (which is at the top right corner of the Statistic Tool. This will limit your statistics to the ROI(s) instead of using the whole raster image.

Screen Shot 2022-03-07 at 2.20.32 PM.png
Screen Shot 2022-03-07 at 2.20.32 PM.png (49.65 KiB) Not viewed yet

Re: Spectra in SeaDAS GUI

Posted: Mon Mar 07, 2022 5:44 pm America/New_York
by avmehta
Thank you Danny.
I can do the statistics for the ROI I draw as you suggested, but for spectrum it only allows viewing spectrum at a cursor position! I see options for displaying spectra at all pixels and also to save the values in a file but as soon as I move the cursor -- the Spectrum View window goes blank. Selecting ROI and refreshing does not help fro spectrum. I must be missing something.
Thanks again.
Amita

Re: Spectra in SeaDAS GUI

Posted: Mon Mar 07, 2022 6:58 pm America/New_York
by OB SeaDAS - knowles
The Spectrum Plot is for single pixels. You can place pins and run it for all the pins and you will get a spectral line associated with each pin. So one line per pixel. If you don't use pins then it monitors the pixel directly beneath the cursor. So unfortunately it doesn't do what you want regarding a mean value of the ROI region's pixels.

Re: Spectra in SeaDAS GUI

Posted: Wed Mar 09, 2022 7:47 am America/New_York
by avmehta
Thanks Danny.
Amita