Calculation of i_org needs to be refactored so that it takes object-labels rather than cloud_mask as the input, this is needed to expose the fact that i_org calculation internally uses labelled objects, rather than the mask directly. With this refactoring the i_org calculation will follow the common API we have adopted where all metrics which operated on object-labels internally expose this through a common interface.
Calculation of
i_org
needs to be refactored so that it takes object-labels rather thancloud_mask
as the input, this is needed to expose the fact that i_org calculation internally uses labelled objects, rather than the mask directly. With this refactoring thei_org
calculation will follow the common API we have adopted where all metrics which operated on object-labels internally expose this through a common interface.