* Require webcam support package https://www.mathworks.com/matlabcentral/fileexchange/45182-matlab-support-package-for-usb-webcams
This script capturing a webcam image, splitting it for color components and replace them between themselves. Will be better to test with bright colored things.
Andrey Kiselnikov (2019). Webcam image capture (https://www.mathworks.com/matlabcentral/fileexchange/70132-webcam-image-capture), MATLAB Central File Exchange. Retrieved .
Automatic webcam selection added
Create scripts with code, output, and formatted text in a single executable document.