Added luma threshold