The MATLAB scripts are used to view binary uncompressed images from the cameraboard, saved using the write_binary_image function in the API. They are located in tools/matlab.
This function takes a string containing the filename as input (ie. "im0000") and outputs an array of the image data. The dimensions of the image are automatically determined based on file size.
This script looks for all files starting with "im" in the directory (this can be changed with the imdir variable) and displays them as images.
This script looks for all files starting with "im" in the directory (this can be changed with the imdir variable) and assumes there are corresponding "bg" and "fg" files and displays them as images. In the case of "im0000" no corresponding "bg" and "fg" files are needed.
Used to view YUV color images.
Used to view RGB color images, which are saved in the order GBR.
Auxillary function used to convert 422 formats into 888 for display in matlab.