forked from: BitmapDataの境界線指定による２値化

