How can I represent an image as a matrix in Matlab?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As soon as you’ve loaded the image into Matlab, it is represented as a matrix. For example
A is a 384-by-512-by-3 array, representing an RGB image, where e.g.
A(:,:,1)is the red channel