cast labels in ncut