0

Following the Principal Component Analysis (PCA) section on Lab 4: Spectral indices and transformations from https://developers.google.com/earth-engine/edu I reached a point which its not clear, in fact its black, as seen in the picture

enter image description here

And I'm not sure on how to ask it. May I just ask for help on executing this Principal Component Analysis (PCA) section on Lab 4: Spectral indices and transformations?

What's the meaning of the black body? Or is there a bug around here?

May I provide further info on the issue?

  • Thanks for the question! In the future, please only use directly relevant tags. This one should be tagged with "google-earth-engine", and not the others, to avoid spamming people watching those tags. – Christiaan Adams Nov 30 '18 at 4:34
1

Use the stretching to visualize images manually. You can access this if you hover the mouse on the 'Layers' in the right top corner of the map. This is also noted in the tutorial you are following. See the pic:

enter image description here

You could also set these parameters in the code editor:

Map.addLayer(pcImage.select('pc1'), {min:-448, max:-398,}, 'PC');

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.