[r,c,d] = size(rgbImage); %# Get the image dimensions
What does r,c,d stand for here?
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.
In that line of code:
ris the number of rows in the image (i.e. the size of the first dimension).cis the number of columns in the image (i.e. the size of the second dimension).dcan be referred to as the “depth” or “planes” of the image (i.e. the size of the third dimension).For an RGB (or Truecolor) image,
dis always 3. The first plane contains the degree of red in each pixel of the image, the second plane contains the degree of green in each pixel of the image, and the third plane contains the degree of blue in each pixel of the image.