An Improved Multithreshold Segmentation Algorithm Based on Graph Cuts Applicable for Irregular Image