i use function size(a), 1200*1920*3. what 3 means in this?
Show older comments
where a is my image matrix, i got result as 1200*1920*3. what 3 means in this?
Accepted Answer
More Answers (1)
ES
on 4 Oct 2013
0 votes
three dimensional data. I think you read a 1200X1920 colour image. The 3 rd dimension is R, G, B values. What i mean is data[:,:,1] is R, data[:,:,2] is G, data[:,:,3] is B values.
3 Comments
chitresh
on 4 Oct 2013
Urmila
on 4 Oct 2013
hello, actually i have the same problem.If you understand the concept,tell me also.Thanks in advance.
Image Analyst
on 4 Oct 2013
Did you read Steve's blog that I posted in my answer? It discusses it at length.
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!