Opencv in memory Mat representation

前端 未结 3 2047
情话喂你
情话喂你 2021-02-09 01:20

I know that in memory opencv represents Mat objects as one big array. So if I have 3 channels mat of dimension 200x200 then In memory it will store this mat in an array of size

3条回答
  •  北恋
    北恋 (楼主)
    2021-02-09 01:30

    As you can see in the data layout reported on the documentation, you can access the values like:

    for(int r=0; r

提交回复
热议问题