Matlab 3-layered Image Matrix -


I am currently learning matlab and treat troubles as an image section. I have this PowerPoint slide about the matlab image:


**** Image matrix *

3 -Star image matrix - read 'A' rainbow Jpga ???? IM

IM2 for subset IM ??? E.g. (155: 184, 145: 164, :)

* 1 layer of an image ??? Find the red layer in IM2 ****


I want to ask (155: 184, 145: 164, :) What does that represent? What does each value represent in parentheses? Apart from this, what does the semi-colon signify?

Thank you!

Say that you have 3 dimensional matrix A and you are listing your matrix. I will use the example given above:

  A (155: 184,145: 164, :)   

155: 184 In the first entry, means to carry 155 to 184 rows, take the column from 145 to 164 in the second entry, and in the last entry the semi-colon means that every element with the third dimension is meant. So if you have 200x200x3 , then the semi-colon will take 3 dimensions.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -