This link , use ee.Algorithms.Landsat.TOA(input) to convert a raw Landsat scene to top-of-atmosphere reflectance (TOA). I am trying to convert a collection of raw Landsat 8 scenes (LANDSAT/LC8 ) to top-of-atmosphere reflectance (TOA):
//Filter USGS Landsat 8 Raw Scenes base on a point location (geometry)
//then Apply TOA algorithm to the raw collection:
var rawcollection = LC8.filterBounds(geometry);
var TOA = ee.Algorithms.Landsat.TOA(rawcollection);
Earth Engine reply that this is Invalid type. Expected: Image. So how to apply ee.Algorithms.Landsat.TOA to an ImageCollection?