heuristic_crack_segmentation https://www.jstage.jst.go.jp/article/jjsndi/56/7/56_7_371/_article/-char/ja/ の改変実装