Sample blackness calculation