I have done some more debugging, and I am certain the block is bugged. It would be nice if someone could confirm. What I have done is captured a image from the RPi camera, and used it in a simple model shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/188315/image.jpeg)
This model, starting from the left, takes the constant image of dimensions 240x320x3 (where the 3 dimensions represent R, G, and B), converts it into type double (so it is compatible with the "Color Space Conversion" block), feeds into the RGB to HSV block, and the output is 240x320x3 matrix, where the 3 dimensions represent H, S, and V. The selector block then selects one of the H, S, and V matrices. When I selected the H and S matricies, it produced the expected outputs, as shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/188317/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/188319/image.jpeg)
However, the last image shows the V matrix:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/188320/image.jpeg)
The matrix is completely filled with 1's, or rather, 255's. However, this shouldn't be so I believe. Again, if someone could confirm, I would appreciate it.