Total Core Area

First it conducts a Connected Component labeling. Then the identified patch boundaries are reduced by one cell value and the resulting area is returned. Returned values are multiplied with the exponentiated cellsize value.