I have a one-dimensional matrix of size 256X256X8. It has a string of 0 and 1 of the said length. I want to form an 2D Image matrix of size 256×256 from the previous matrix with each eight bits in the original matrix representing an integer in the final matrix. Is there any way to do it?
MATLAB: How to convert 1D binary data matrix to 2D image matrix
1d to 2d conversionImage Processing Toolboxmatrix arraymatrix manipulation
Related Question
- How to convert demodulated binary bits into image
- How to repalce a matrix
- Colormap of a rgb image
- I have an array of length 256. It has either 0’s and 1’s of type uint8. I would like to concatenate it so that it occupies less memory and then recover the original array back. please check the eaxample
- Convert bin to text
Best Answer