I have an image and I depicted it as a matrix image which is composed of 0 and 1 (or True and False). There are many 1 data(blue color) forming triangle grid, but some