Netaxis interview question

How to separate images using matlab?