I am trying to detect green roofs in a city and would like to compute the total area of green roofs (also on a per roof basis). I used a shapefile containing all roofs and used that to extract the roofs from an orthophoto and calculated NDVI through the raster calculator. Now I would like to compute the area of the green roofs. I'm hoping to get some kind of attribute table that shows me if a given building has a green roof and much m².
I tried using reclassify by table to create two classes (no vegetation & vegetation) and polygonized the output which sometimes resulted in hundreds of polygons within the boundaries of a single building.
I'm unsure about how to proceed or if I am even on the right track.
Please keep in mind that I am using QGIS.