Adaptive parameter selection for graph cut-based segmentation on cell images