- Read the image to MATLAB workspace using imread()
- Extract the individual channels of the image using imsplit()
- Using Image Viewer from Toolstrip under Apps, find the shift in the coordinate system and transform the coordinates of the channels accordingly.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/562293/image.png)