Pergunta de entrevista da empresa Samsung Electronics

write a class that describes a sub image of an image