Hi, so I have a 4D logical matrix in form of x,y,3,8 representing an image, where the 3rd dimension is each layer and the 4 dimension is the 8 bits representing the colour channel value. I need to convert this into a 3D unit8 matrix, similar to what is produced when an image is imported.
MATLAB: How do you convert a 4D logical matrix to a 3D uint8 matrix
4d logicalimage
Best Answer