What do you think of my code to identify images, do you have any suggestions - C#