title: How can I convert between RGB565 and RGB24 image formats in MATLAB?
body: <p>I am getting an RGB matrix from a microprocessor that outputs an image in RGB565 format. I want to read this into MATLAB, convert it to RGB24 format, and output the image. How do I do this?</p>