prune out white matrix, threshold to 0 and 1 by 0.3, remove 45 degree