Extract info about occupied pixels in each roi.

Change-Id: Id82bb2043d8efc93da7ae3e765987a1b125a0c2b