Create binsFromImage.m