Netaxis Interview Question

How to separate images using matlab?