Save the GroundTruth as png format instead of jpg format, for there are errors when save the matrix of logical type as jpg format