1

I have a single image with 3 bands representing different properties for water detection and a 4th band for reference (ground truth - water/no-water). I want to perform a linear regression using the 3 bands against the reference water band.

The GEE page on regression only demonstrates the regression on a collection of images (to find the trend) and I am not able to find any example on regression over the pixels from multiple bands within a single image.

  • 1
    you could make an image collection with each band of the image and then use the example on GEE page – Rodrigo E. Principe Mar 21 at 0:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.