how to get the co-occurrence matrix value of an image in c#?